Paul, your questions always come with code for people to review, and now
you even ask for people to provide you with better or more complete code.

I'm afraid this is like asking for free consultancy and probably nobody
here is gonna do that.

Please, make specific questions about libuv.

El jue., 14 ene. 2021 1:12, [email protected] <[email protected]>
escribió:

> Hi Folks:
>
> Nobody commented on my question about spawning detached thread tasks.
> Consequently, I looked at the code in src/unix/thread.c and discovered
> pthread_create() does not have provisions for spawning a detached thread.
>
> The routine in the attached file spawns a detached thread correctly on
> Unix/Linux
> systems and works under fairly heavy testing. However, I am not sure it
> is in line with the Libuv implementation conventions, and it is certainly
> not elegant nor of optimal modularity.
>
> I leave it up to the Libuv implementors to come up with a more complete
> solution.
>
> Best Regards,
>
> Paul R.
>
> On Friday, January 1, 2021 at 4:26:31 PM UTC-8 [email protected]
> wrote:
>
>> What is the right way to create a detached thread and insure resources
>> are released upon termination under Libuv ?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "libuv" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/libuv/e616b72c-8a93-4cab-ab11-2031fe7c32adn%40googlegroups.com
> <https://groups.google.com/d/msgid/libuv/e616b72c-8a93-4cab-ab11-2031fe7c32adn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/libuv/CALiegfkEhkEg-5DCXuLaf9x9ao%3DbP3nDYzNnU4fnNHscdr7vvg%40mail.gmail.com.

Reply via email to