/[gnustep]/gnustep/core/base/Source/NSThread.m
ViewVC logotype

Diff of /gnustep/core/base/Source/NSThread.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.73 by CaS, Tue Sep 30 18:19:03 2003 UTC revision 1.74 by CaS, Tue Sep 30 18:57:49 2003 UTC
# Line 247  GSCurrentThread() Line 247  GSCurrentThread()
247        t = (NSThread*)objc_thread_get_data();        t = (NSThread*)objc_thread_get_data();
248        if (t == nil)        if (t == nil)
249          {          {
250            fprintf(stderr, "ALERT ... GSCurrentThread() ... the "            fprintf(stderr,
251              "objc_thread_get_data() call returned nil!");  "ALERT ... GSCurrentThread() ... objc_thread_get_data() call returned nil!\r\n"
252    "Your application MUST call GSRegisterCurrentThread() before attempting to\r\n"
253    "use any GNUstep code from a thread other than the main GNUstep thread.\r\n");
254            fflush(stderr);       // Needed for windoze            fflush(stderr);       // Needed for windoze
255          }          }
256      }      }
# Line 397  gnustep_base_thread_callback() Line 399  gnustep_base_thread_callback()
399              }              }
400            NS_HANDLER            NS_HANDLER
401              {              {
402                  fprintf(stderr,
403    "ALERT ... exception while becoming multi-threaded ... system may not be\r\n"
404    "properly initialised.\r\n");
405                  fflush(stderr);
406              }              }
407            NS_ENDHANDLER            NS_ENDHANDLER
408            entered_multi_threaded_state = YES;            entered_multi_threaded_state = YES;

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26