[M3devel] ease of switching between pthreads and userthreads?
Jay K
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.
@M3pthreads @M3userthreads
or somesuch.
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?
Thank you,
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110423/39b04c6d/attachment-0001.html>
More information about the M3devel
mailing list