mirror of
https://github.com/Tha14/toxic.git
synced 2025-11-29 16:46:40 +01: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