[M3devel] atomic operations in cm3 (fails on AMD64_DARWIN)

Dragiša Durić dragisha at m3w.org
Tue Feb 28 14:15:16 CET 2012


% cm3
--- building in ../AMD64_DARWIN ---

new source -> compiling Proxy.m3
"../src/Proxy.m3", line 13: warning: not used (JobHandler)
1 warning encountered
new source -> compiling AtomicAddress.i3
new source -> compiling AtomicAddress.m3
"../AMD64_DARWIN/AtomicAddress.m3 => ../src/Atomic.mg", line 52: ********* M3CG_Check ERROR *********** bad stack:  expected [ Int64    ] got [ Addr  Int64   ]


***
*** runtime error:
***    Segmentation violation - possible attempt to dereference NIL
***    pc = 0x1002f0838 = Concat + 0x8a in ../src/text/TextCat.m3
***

zsh: abort      cm3

On Feb 27, 2012, at 8:15 AM, Dragiša Durić wrote:

> m3-libs/m3core/src/atomic/Atomic.ig is well commented, also.
> 
> 
> On Feb 27, 2012, at 1:37 AM, Jay K wrote:
> 
>> Shows how to use it all.
>>  
>> It is disabled. Let's try it..
> 

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


More information about the M3devel mailing list