Commits

Anders F Björklund committed 8e7d6a3

deprecated function alias was removed

  • Participants
  • Parent commits acddedd

Comments (0)

Files changed (1)

d/phobos2/gcc/threadsem.d

     struct Semaphore {
         semaphore_t sem;
         bool create() {
-            return semaphore_create(current_task(), & sem,
+            return semaphore_create(mach_task_self(), & sem,
                 SYNC_POLICY_FIFO, 0) == KERN_SUCCESS; }
         void wait() { semaphore_wait(sem); }
         void signal() { semaphore_signal(sem); }