mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
disable LWIP_NETCONN_SEM_PER_THREAD
currently, this feature isn't stable (at least in HermitCore)
This commit is contained in:
parent
ff3f54d786
commit
63e5cdc28e
1 changed files with 1 additions and 0 deletions
|
@ -344,6 +344,7 @@ int init_tls(void)
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
memset(tls_addr, 0x00, TLS_OFFSET);
|
||||
memcpy((void*) (tls_addr+TLS_OFFSET), (void*) curr_task->tls_addr, curr_task->tls_size);
|
||||
|
||||
// set fs register to the TLS segment
|
||||
|
|
Loading…
Add table
Reference in a new issue