{"title":" Fiber\u3067\u30b3\u30eb\u30fc\u30c1\u30f3","description":"Ruby\u3058\u3083\u306a\u304f\u3066Windows API\u306e\u307b\u3046\u3002 Unix\u3060\u3068\u30ce\u30f3\u30d7\u30ea\u30a8\u30f3\u30c6\u30a3\u30d6\u306a\u30b9\u30ec\u30c3\u30c9\u3063\u3066\u3069\u3046\u3084\u3063\u3066\u4f7f\u3046\u3093\u3060\u308d\u3046\uff1f #include <windows.h> #include <stdio.h> #include <stdlib.h> #define die(fmt, ...) \\ do { \\ fprintf(stderr, fmt, __VA_ARGS__); \\ exit(1); \\ } while(0) void _stdcall fiber(LPVOID mf) { while(1) { puts(\"\u6625\"); SwitchToFiber(mf); puts(\"\u590f\"); Switc\u2026","categories":["C\u8a00\u8a9e","WINDOWS"],"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","url":"https://so-wh.at/entry/20080615/p2","version":"1.0","blog_url":"https://so-wh.at/","author_url":"https://blog.hatena.ne.jp/winebarrel/","image_url":null,"published":"2008-06-15 00:00:00","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fso-wh.at%2Fentry%2F20080615%2Fp2\" title=\" Fiber\u3067\u30b3\u30eb\u30fc\u30c1\u30f3 - so what\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","author_name":"winebarrel","blog_title":"so what"}