Re: Multithreaded qsort(3)
- From: Giorgos Keramidas <keramida@xxxxxxxxxxxxxxx>
- Date: Sun, 18 Mar 2007 15:49:01 +0200
On 2007-03-17 23:43, Kip Macy <kip.macy@xxxxxxxxx> wrote:
Reminds me of how Solaris blindly uses vfork for implementing
system(3). It was very easy for a naive user (me) to call system from
a multi-threaded python application. I had numerous failures that were
impossible to track back to system(3).
It seems like an 'obvious' optimization, though. vfork() will block the
parent process until the child runs exec(), and the whole purpose of
system is to exec() a shell and run an external command.
Can you elaborate on the problems you were seeing? It sounds like
something both interesting and educational :)
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Multithreaded qsort(3)
- From: Dan Nelson
- Re: Multithreaded qsort(3)
- References:
- Multithreaded qsort(3)
- From: Diomidis Spinellis
- Re: Multithreaded qsort(3)
- From: Max Laier
- Re: Multithreaded qsort(3)
- From: John-Mark Gurney
- Re: Multithreaded qsort(3)
- From: Kip Macy
- Multithreaded qsort(3)
- Prev by Date: Re: Multithreaded qsort(3)
- Next by Date: Re: Multithreaded qsort(3)
- Previous by thread: Re: Multithreaded qsort(3)
- Next by thread: Re: Multithreaded qsort(3)
- Index(es):