lexborisov/Modest

Improved OS abstraction

Closed this issue · 2 comments

Hi Lexbor,

It would be nice if all the OS abstraction was made with split files per operating system instead of relying on #ifdef statements which can be cumbersome to maintain or expand.

os/windows
os/linux
os/macos
os/bsd
os/pickyourpoison

I see four obvious abstraction targets : memory, threading, io, and timer.

Added in split branch
Soon branch Split will be merged to master

Done!