mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:43:03 +01:00
Misc.
This commit is contained in:
parent
44629e5904
commit
001c0efc0d
@ -338,8 +338,6 @@ void ThreadData::start(ThreadEntryPoint* routine,
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
long stack_size;
|
|
||||||
|
|
||||||
state = pthread_attr_create(&pattr);
|
state = pthread_attr_create(&pattr);
|
||||||
if (state)
|
if (state)
|
||||||
Firebird::system_call_failed::raise("pthread_attr_create", state);
|
Firebird::system_call_failed::raise("pthread_attr_create", state);
|
||||||
@ -352,7 +350,7 @@ void ThreadData::start(ThreadEntryPoint* routine,
|
|||||||
The following code sets threads stack size up to 256K if the
|
The following code sets threads stack size up to 256K if the
|
||||||
default stack size is less than this number
|
default stack size is less than this number
|
||||||
*/
|
*/
|
||||||
stack_size = pthread_attr_getstacksize(pattr);
|
const long stack_size = pthread_attr_getstacksize(pattr);
|
||||||
if (stack_size == -1)
|
if (stack_size == -1)
|
||||||
Firebird::system_call_failed::raise("pthread_attr_getstacksize");
|
Firebird::system_call_failed::raise("pthread_attr_getstacksize");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user