mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
Port r142 of branches/5.0 (from MySQL):
NetWare specific change to increase thread stack size.
This commit is contained in:
parent
e62060724f
commit
f6e307752d
1 changed files with 9 additions and 0 deletions
|
@ -147,6 +147,15 @@ os_thread_create(
|
|||
"InnoDB: Error: pthread_attr_setstacksize returned %d\n", ret);
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
#ifdef __NETWARE__
|
||||
ret = pthread_attr_setstacksize(&attr,
|
||||
(size_t) NW_THD_STACKSIZE);
|
||||
if (ret) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: Error: pthread_attr_setstacksize returned %d\n", ret);
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
os_mutex_enter(os_sync_mutex);
|
||||
os_thread_count++;
|
||||
|
|
Loading…
Add table
Reference in a new issue