in reply to Ithreads and XS information wanted
Disclaimer: I don't know XS, but since no one else has said anything ... :)
<speculation> ithreads work at a level above any multithreading at the C level. An ithread looks a lot more like a process than, say, a Java thread, and each thread contains it's own copy of the all the data in the perl process, sharing entities only explicitly. So I think that each ithread utilizing a module wrapping an XS engine will possess it's own copy of the module in memory. If that's the case, then XS code needn't worry about threading in the perl process. </speculation>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Ithreads and XS information wanted
by MarkM (Curate) on May 21, 2003 at 02:54 UTC | |
by Joost (Canon) on May 21, 2003 at 08:29 UTC | |
by MarkM (Curate) on May 21, 2003 at 13:57 UTC |