Re:Fibers: An Elegant Windows API
by gpderetta on Friday March 29, 2019 @09:13AM
(#19521309)
Yes, IIRC the trick is to split the pointer I two integers and pass the halves separately.
[ Parent
| on HN ]
Which would imply that you know that sizeof(int) * 2 == sizeof(void*). That's a good assumption for x86-64 architectures but doesn't sound very portable at all.
There are many ways to recover portability.