{"id":1036,"date":"2008-03-16T20:41:16","date_gmt":"2008-03-16T10:41:16","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/2008\/03\/16\/windows-finally-gets-poll-wellwsapoll\/"},"modified":"2008-03-16T20:41:16","modified_gmt":"2008-03-16T10:41:16","slug":"windows-finally-gets-poll-wellwsapoll","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2008\/03\/16\/windows-finally-gets-poll-wellwsapoll\/","title":{"rendered":"Windows finally gets poll() (well&#8230;WSAPoll)"},"content":{"rendered":"<p>Found this today: <a href=\"http:\/\/blogs.msdn.com\/wndp\/archive\/2006\/10\/26\/WSAPoll.aspx\">Windows Core Networking : WSAPoll, A new Winsock API to simplify porting poll() applications to Winsock.<\/a><\/p>\n<p>Which means we should be able to squeeze some peformance out of Vista. Although, since poll() we&#8217;ve gone and moved on to much better things in the free world.<\/p>\n<p>As part of porting MySQL Cluster to Microsoft Windows platforms, I&#8217;m going and redoing a lot of the portable sockets code in MySQL. My goal is to have enforcing of proper use of the portable functions be done by the compiler instead of the programmer &#8211; leading to less portability bugs.<\/p>\n<p>Let&#8217;s face it: friends don&#8217;t let friends have to run Windows to not break the Windows port.<\/p>\n<p>Good news is that so far I&#8217;ve found several bugs that could have presented them in real nasty ways at run time but have instead showed up as build errors &#8211; brilliant!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Found this today: Windows Core Networking : WSAPoll, A new Winsock API to simplify porting poll() applications to Winsock. Which means we should be able to squeeze some peformance out of Vista. Although, since poll() we&#8217;ve gone and moved on &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2008\/03\/16\/windows-finally-gets-poll-wellwsapoll\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[14],"tags":[],"class_list":["post-1036","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-gI","jetpack-related-posts":[{"id":345,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/01\/18\/mysql-port-of-memberdb\/","url_meta":{"origin":1036,"position":0},"title":"MySQL port of MemberDB","author":"Stewart Smith","date":"2005-01-18","format":false,"excerpt":"Spent probably about 3 hours today porting the database schema to MySQL 5 along with finding some bugs in the process. Pretty minor ones, mainly to do with how things could be improved to improve compatibility with schemas written with postgresql in mind. While chasing up some stuff on why\u2026","rel":"","context":"In &quot;linux-aus&quot;","block_context":{"text":"linux-aus","link":"https:\/\/www.flamingspork.com\/blog\/category\/linux-aus\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":894,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/09\/20\/ndb_mgmd-on-win32-an-alpha\/","url_meta":{"origin":1036,"position":1},"title":"ndb_mgmd on Win32 (an Alpha)","author":"Stewart Smith","date":"2007-09-20","format":false,"excerpt":"So, here is an Alpha quality port of the MySQL Cluster management server to Win32 based on the current MySQL 5.0 tree. This isn't going into 5.0, so don't expect to ever have that. This isn't going into 5.1 either, so don't expect it there. It'll go into some future\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":465,"url":"https:\/\/www.flamingspork.com\/blog\/2005\/09\/05\/naturally-it-was-going-to-hit-slashdot-with-something-like-mysql-and-sco-join-forces\/","url_meta":{"origin":1036,"position":2},"title":"Naturally, it was going to hit Slashdot with something like &#8220;MySQL and SCO Join Forces&#8221;","author":"Stewart Smith","date":"2005-09-05","format":false,"excerpt":"(insert disclaimer about this being my own views - no that of MySQL AB) Slashdot | MySQL and SCO Join Forces Some people seem to think that porting your application to a newer version of an OS, having a trial version of your subscribtion-based support shipping with every copy of\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1215,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/09\/18\/ndb-windows-port-shaping-up\/","url_meta":{"origin":1036,"position":3},"title":"NDB Windows port shaping up&#8230;","author":"Stewart Smith","date":"2008-09-18","format":false,"excerpt":"It's getting there. The tree should now pretty much always compile, and (at least mostly) doesn't break anything on other platforms. It even works on win32... at least basic functionality. There will be monsters (bugs.. but scarier, becuase it's win32).","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1229,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/10\/14\/mysql-cluster-ndb-on-win32-progress\/","url_meta":{"origin":1036,"position":4},"title":"MySQL Cluster (NDB) on Win32 progress","author":"Stewart Smith","date":"2008-10-14","format":false,"excerpt":"Many things have been happenning in the land of NDB on Win32 as of late. I've fixed about 700 compiler warnings (some of which were real bugs) leaving about 161 to go on Win32 (VS2003). We're getting a few more warnings on Win64 (some of which look merely semantic, while\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3699,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/03\/13\/ghosts-of-mysql-past-part-9-best-team-name-ever\/","url_meta":{"origin":1036,"position":5},"title":"Ghosts of MySQL Past, Part 9: BEST. Team. Name. EVER.","author":"Stewart Smith","date":"2014-03-13","format":false,"excerpt":"(This is part 9 in a series, part 8 is here - because reverse chronological order totally makes sense here) So, back around 2007, somebody noticed that an awful lot of the downloads of MySQL and associated utilities from mysql.com were for Windows. Of course, it's then immediately pointed out\u2026","rel":"","context":"In &quot;mysql&quot;","block_context":{"text":"mysql","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/mysql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=1036"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1036\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=1036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=1036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=1036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}