1
0
Fork 0
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:
Stefan Lankes 2016-11-27 10:48:11 +01:00 committed by Daniel Krebs
parent ff3f54d786
commit 63e5cdc28e

View file

@ -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