Mailing Lists
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:feature-requests] #82 Adding Windows Phone (Metro) support
From: Stefan Neis <neis_at_users.sf.net>
Date: Tue, 11 Nov 2014 12:43:40 +0000
> if you could take this discussion (and patches) to the curl-library mailing list,
Unfortunately, I'm already subscribed to more mailing lists than I can reasonably handle, so subscribing to one more for just this discussion is something I'd rather avoid.
> Unfortunately, for InitializeCriticalSectionEx and GetTickCount64, Windows XP and Server 2003 are "very old Windows versions".
Well, one is out of support, the other is having just half a year of ongoing support, so IMO that is "very old". But adding something like e.g.
--- ** [feature-requests:#82] Adding Windows Phone (Metro) support** **Status:** open **Created:** Tue Nov 11, 2014 10:03 AM UTC by Stefan Neis **Last Updated:** Tue Nov 11, 2014 10:31 AM UTC **Owner:** Daniel Stenberg I've been testing curl on Windows Phone a bit, using the Metro app style (i.e. non-Silverlight). Of course, that required some changes to curl code. A first step was to replace some (more precisely: three) old APIs that are not supported for Windows Phone by more "modern", extended APIs (patch attached). Unless you need to support very old compilers or windows versions (which would required some #ifdefs), that should be an uncontroversial change. A second, more controversial step was to add a "thread emulation" layer and include it from connect.c and select.c via a suitable #ifdef. IIRC, I took that from http://blogs.msdn.com/b/shawnhar/archive/2012/03/12/createthread-for-windows-8-metro.aspx. This "translates" the win32 thread API used by cURL to the new Metro-style thread pool API. While that was fine for my own use, I doubt it's a generally acceptable method for porting libraries, especially, if each library adds its own copy of that code. So I don't really know what to suggest here. --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-11-11 These mail archives are generated by hypermail. |