3 ms·
You can have multiple threads generating code if necessary, you just need to ensure that each has its own pages to write to. Once the machine code is written t
by haberman 12y ago
You can have multiple threads generating code if necessary, you just need to ensure that each has its own pages to write to. Once the machine code is written the page can be flipped to rx and it's safe to share across multiple threads.