News for hackers. Stuff that matters.
Re:Mastering Threads on MacOS X by logancapaldo on Sunday March 18, 2012 @01:50PM (#3720262)
This article is pretty terrifying:

      #import <pthread.h>
      #import <stdlib.h>
      
      // Globals
      pthread_mutex_t *gLck;
      int gSum;

      int main (int argc, const char * argv[])
      {
          pthread_t *tFoo, *tBar;
          int tErr, tArgF, tArgB;
      
          // create the mutex construct
          tErr = pthread_mutex_init(gLck);

There are no comments on this comment yet.