load-noobjc2.m 178 B

12345678910111213
  1. #include "test.h"
  2. extern semaphore_t go;
  3. OBJC_ROOT_CLASS
  4. @interface noobjc @end
  5. @implementation noobjc
  6. +(void)load
  7. {
  8. semaphore_signal(go);
  9. while (1) sleep(1);
  10. }
  11. @end