corsis / clock

High-resolution clock functions: monotonic, realtime, cputime.
Other
58 stars 25 forks source link

Make foreign calls on macOS and Win unsafe #62

Closed qnikst closed 3 years ago

qnikst commented 3 years ago

This commit makes foreign calls safe, as they are fast and otherwise unessesary overhead is created. This change was already done for linux, but seems that other OS were simply omitted.

CetinSert commented 3 years ago

@qnikst - thank you!