We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c62aa6 commit edd83bbCopy full SHA for edd83bb
lib/posix/options/posix_internal.h
@@ -22,11 +22,16 @@
22
*/
23
#define PTHREAD_OBJ_MASK_INIT 0x80000000
24
25
-struct posix_thread_attr {
+#ifdef CONFIG_RX
26
+struct __packed posix_thread_attr
27
+#else
28
+struct posix_thread_attr
29
+#endif
30
+{
31
void *stack;
32
/* the following two bitfields should combine to be 32-bits in size */
- uint32_t stacksize : CONFIG_POSIX_PTHREAD_ATTR_STACKSIZE_BITS;
- uint16_t guardsize : CONFIG_POSIX_PTHREAD_ATTR_GUARDSIZE_BITS;
33
+ uint32_t stacksize: CONFIG_POSIX_PTHREAD_ATTR_STACKSIZE_BITS;
34
+ uint16_t guardsize: CONFIG_POSIX_PTHREAD_ATTR_GUARDSIZE_BITS;
35
int8_t priority;
36
uint8_t schedpolicy: 2;
37
bool contentionscope: 1;
0 commit comments