Re: System threads (pthreads)

Yang Zhang <[email protected]> Wed, 09 Apr 2008 11:25:04 -0400
Newsgroups gmane.comp.lib.state-threads.user
Message-ID <[email protected]>
Also, has interop with valgrind been fixed?

If not, does anybody understand precisely what the problems are with 
pthreads and valgrind?

Thanks!


Yang Zhang wrote:
> Hi, I've only been able to dig up some old mailing list posts about 
> system threads (pthreads) not being usable in a st-based program.  Has 
> there been any progress on this front?
> 
> One approach suggested by the FAQ is to adopt a multi-process approach, 
> but IPC overhead (incl. shared memory) is substantial compared to 
> threads, and the approach generally makes things more complex.
> 
> (FWIW, in the past, I've added thread support to other async programming 
> frameworks by creating a lightweight thread that listens on a socket for 
> connections from other system threads.)
> 
> Thanks in advance for any answers.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone