Sverker Eriksson

Results 118 comments of Sverker Eriksson

> I see that there already is such function in ERTS What function are you referring to?

This is not high prio for us but would be reasonable easy to implement. Do `git grep TCP_PB_4` and add corresponding code for `TCP_PB_LITTLE_4` and maybe also `TCP_PB_LITTLE_2` for completeness.

I prefer `{4, little}` . I do not like negative values meaning little endian.

> The goal of this PR is to allow running multiple tprof:profile/2 at the same time without fear of overlap. What's the "fear"? Maybe I'm missing something, but the code...

Good. This paragraph in the `tprof` docs does not seem correct: > By default, only one ad-hoc or server-aided profiling session is allowed at any point in time. It is...

Interesting. Looks like the process exits while yielding inside `re:run`.

I can reproduce SEGV with this code: ``` -module(sverker). -export([go/0]). go() -> Bin = binary:copy(~"hejsan", 10_000_000), {ok, RE} = re:compile(~B"\w+\d", []), {Pid, _MRef} = spawn_monitor(fun() -> re:run(Bin, RE) end), erlang:yield(),...

Proposed PR #10439. Will hopefully make it into OTP 28.3 next week.

With what OTP version did you encounter that crash?

Was about to give this year-old PR some love but found it faulty. The functions called in `do_handle_exit()` uses `throw()` to return back sensible `{noreply,NewState}` or `{stop,_,_}` tuples back from...