Changeset 26360f7 in mainline for uspace/lib/libc
- Timestamp:
- 2009-06-12T19:44:25Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1806e5d
- Parents:
- 9ae22ba
- Location:
- uspace/lib/libc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/arm32/include/tls.h
r9ae22ba r26360f7 41 41 #define CONFIG_TLS_VARIANT_1 42 42 43 /** Offsets for accessing __threadvariables are shifted 8 bytes higher. */43 /** Offsets for accessing thread-local variables are shifted 8 bytes higher. */ 44 44 #define ARM_TP_OFFSET (-8) 45 45 -
uspace/lib/libc/generic/async.c
r9ae22ba r26360f7 175 175 176 176 /** Identifier of the incoming connection handled by the current fibril. */ 177 __threadconnection_t *FIBRIL_connection;177 fibril_local connection_t *FIBRIL_connection; 178 178 179 179 static void default_client_connection(ipc_callid_t callid, ipc_call_t *call); -
uspace/lib/libc/generic/fibril.c
r9ae22ba r26360f7 65 65 /** Number of threads that are executing a manager fibril and are serialized. */ 66 66 static int serialized_threads; /* Protected by async_futex */ 67 /** Thread-local count of serialization. If > 0, we must not preempt */68 static __threadint serialization_count;67 /** Fibril-local count of serialization. If > 0, we must not preempt */ 68 static fibril_local int serialization_count; 69 69 70 70 /** Setup fibril information into TCB structure */ -
uspace/lib/libc/include/fibril.h
r9ae22ba r26360f7 73 73 typedef struct fibril fibril_t; 74 74 75 /** Fibril-local variable specifier */ 76 #define fibril_local __thread 77 75 78 extern int context_save(context_t *c); 76 79 extern void context_restore(context_t *c) __attribute__ ((noreturn));
Note:
See TracChangeset
for help on using the changeset viewer.