Added support for arm64 platform; fixes BGREWRITEAOF for arm64
On arm64 platform the fork() is not available hence we use clone() system call to implement a copy-on-write. This has been tested on arm64 Linux.
On m1(aarch64/arm64), this may work fine. It would be good if someone having an M1 can test and provide any valuable inputs.
Fixes https://github.com/DiceDB/dice/issues/58 and https://github.com/DiceDB/dice/issues/17
More changes are impending in this PR. Kindly don't review it now.
@rohanverma94 Are you still planning to work on the remaining changes? The code base has moved forward lot. Please rebase and re-submit if you are still keen to fix this. We will be cleaning up old PR's if they are inactive. Thanks.
I'm occupied with some stuff. I would've resumed this work otherwise. Meanwhile feel free to close this or may be raise new PR.
May be I will join next rounds of dicussion in context of current roadmap for dicedb.
Is this not merged yet ? Still facing the same issue on M1(arm64).