Ticket #18: mango.diff
| File mango.diff, 2.5 kB (added by Gregor, 2 years ago) |
|---|
-
mango/db/memcache/MemCache.d
old new 39 39 40 40 module mango.db.memcache.MemCache; 41 41 42 private import std. Thread;42 private import std.thread; 43 43 44 44 private import mango.io.Socket, 45 45 mango.io.Buffer, -
mango/locks/CyclicBarrier.d
old new 14 14 15 15 module mango.locks.CyclicBarrier; 16 16 17 private import mango.locks.Condition; 18 17 19 class Error : Object 18 20 { 19 21 private char[] msg; -
mango/locks/Exchanger.d
old new 16 16 import mango.locks.Utils; 17 17 import mango.locks.TimeUnit; 18 18 import mango.locks.Exceptions; 19 import mango.locks.ReentrantLock; 19 import mango.locks.ReentrantLock; 20 20 21 21 // for unittest 22 22 import std.thread; 23 23 import mango.locks.Countdown; 24 25 import mango.locks.Condition; 24 26 } 25 27 26 28 /** \class Exchanger -
mango/locks/ReentrantLock.d
old new 25 25 import mango.locks.Utils; 26 26 import mango.locks.LockImpl; 27 27 import mango.locks.Exceptions; 28 29 import mango.locks.TimeUnit; 30 import mango.locks.Condition; 28 31 } 29 32 30 33 /** \class ReentrantLock -
mango/sys/Epoch.d
old new 49 49 50 50 version (Posix) 51 51 { 52 import std.c.time : timezone; 52 53 extern (C) int mktime (tm *); 53 54 extern (C) tm *gmtime (int *); 54 55 } -
mango/sys/Atomic.d
old new 32 32 return compareAndSet32(vptr,cast(int)expect,cast(int)update); 33 33 } 34 34 35 // this ASM code doesn't work on GDC 35 36 version (X86) { 37 version (GNU) {} else { 38 version = X86_not_GNU; 39 } 40 } 41 42 version (X86_not_GNU) { 36 43 // alternative declaration for data instead of pointers 37 44 static bool compareAndSet32(void* vptr, int expect, int update) { 38 45 asm {
