[M3devel] DateBsd.m3 lock usually not needed

Jay K jay.krell at cornell.edu
Sun Dec 6 15:29:29 CET 2009


I was thinking of that -- DisableSwitching / EnableSwitching -- but can the heap allocation happen while
switching is disabled? I came up with something a bit hacky but maybe ok.

 - Jay


Subject: Re: [M3devel] DateBsd.m3 lock usually not needed
From: hosking at cs.purdue.edu
Date: Sun, 6 Dec 2009 09:25:58 -0500
CC: m3devel at elegosoft.com
To: jay.krell at cornell.edu



That's what SchedulerPosix (badly named but linked to the old user-threads naming) is for....

Antony Hosking | Associate Professor | Computer Science | Purdue University305 N. University Street | West Lafayette | IN 47907 | USAOffice +1 765 494 6001 | Mobile +1 765 427 5484


On 6 Dec 2009, at 06:48, Jay K wrote:It'd be nice if DateBsd.m3 only used a lock with user threads and not with pthreads/ntthreads.

 - Jay

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20091206/7fafcc4d/attachment-0002.html>


More information about the M3devel mailing list