[M3devel] ease of switching between pthreads and userthreads?
jay.krell at cornell.edu
Sat Apr 23 12:19:25 CEST 2011
I've asked before. I'm asking again.
I'd like to be able to switch between userthreads and pthreads via a command line switch to the executable.
I'd also like to be able to switch the default via a line in a m3makefile that builds a program.
I know roughly what implementing this would look like.
I am a bit confused as to what problems -pthread/-pthreads/-lpthread causes.
I'll have to reread.
Whatever problem it has, this change probably would too.
I'm willing to implement this myself.
I'm not asking for anyone else to do it.
I understand it makes LOCK harder to efficiently inline.
If/when LOCK becomes partly inlined, provide a switch?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the M3devel