~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/os/os0thread.c

  • Committer: Brian Aker
  • Date: 2008-07-15 06:45:16 UTC
  • Revision ID: brian@tangent.org-20080715064516-fnbq7kowh7w57bxj
Merge Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
                exit(1);
153
153
        }
154
154
#endif
 
155
#ifdef __NETWARE__
 
156
        ret = pthread_attr_setstacksize(&attr,
 
157
                                        (size_t) NW_THD_STACKSIZE);
 
158
        if (ret) {
 
159
                fprintf(stderr,
 
160
                        "InnoDB: Error: pthread_attr_setstacksize"
 
161
                        " returned %d\n", ret);
 
162
                exit(1);
 
163
        }
 
164
#endif
155
165
        os_mutex_enter(os_sync_mutex);
156
166
        os_thread_count++;
157
167
        os_mutex_exit(os_sync_mutex);
263
273
{
264
274
#ifdef __WIN__
265
275
        Sleep((DWORD) tm / 1000);
 
276
#elif defined(__NETWARE__)
 
277
        delay(tm / 1000);
266
278
#else
267
279
        struct timeval  t;
268
280