File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1907,6 +1907,9 @@ pub const PTHREAD_PROCESS_PRIVATE: ::c_int = 2;
1907
1907
pub const PTHREAD_PROCESS_SHARED : :: c_int = 1 ;
1908
1908
pub const PTHREAD_CREATE_JOINABLE : :: c_int = 1 ;
1909
1909
pub const PTHREAD_CREATE_DETACHED : :: c_int = 2 ;
1910
+ #[ cfg( target_arch = "aarch64" ) ]
1911
+ pub const PTHREAD_STACK_MIN : :: size_t = 16384 ;
1912
+ #[ cfg( not( target_arch = "aarch64" ) ) ]
1910
1913
pub const PTHREAD_STACK_MIN : :: size_t = 8192 ;
1911
1914
1912
1915
pub const RLIMIT_CPU : :: c_int = 0 ;
@@ -3129,6 +3132,9 @@ pub const SETALL: ::c_int = 9;
3129
3132
// sys/shm.h
3130
3133
pub const SHM_RDONLY : :: c_int = 0x1000 ;
3131
3134
pub const SHM_RND : :: c_int = 0x2000 ;
3135
+ #[ cfg( target_arch = "aarch64" ) ]
3136
+ pub const SHMLBA : :: c_int = 16 * 1024 ;
3137
+ #[ cfg( not( target_arch = "aarch64" ) ) ]
3132
3138
pub const SHMLBA : :: c_int = 4096 ;
3133
3139
pub const SHM_R : :: c_int = IPC_R ;
3134
3140
pub const SHM_W : :: c_int = IPC_W ;
You can’t perform that action at this time.
0 commit comments