mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 20:16:44 +02:00
Fix more threading issues
This commit is contained in:
@ -54,6 +54,7 @@ void hst_to_net(uint8_t *num, uint16_t numbytes)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Note: The time functions are not thread safe */
|
||||
void update_unix_time(void)
|
||||
{
|
||||
current_unix_time = (uint64_t) time(NULL);
|
||||
|
Reference in New Issue
Block a user