~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

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
165
155
        os_mutex_enter(os_sync_mutex);
166
156
        os_thread_count++;
167
157
        os_mutex_exit(os_sync_mutex);
273
263
{
274
264
#ifdef __WIN__
275
265
        Sleep((DWORD) tm / 1000);
276
 
#elif defined(__NETWARE__)
277
 
        delay(tm / 1000);
278
266
#else
279
267
        struct timeval  t;
280
268