[Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-19 Thread Victor Bombi
Hello,

versions posix-sjlj for 32 bits (I need C++11 threading) have
pthread_attr_setschedpolicy not implemented
I think that there are some versions of pthread that implement that feature.
Is there any reason for that? Is this going to change in the future?

best regards
victor


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Kai Tietz
2013/11/15 Victor Bombi son...@telefonica.net:

 thanks for answering.
 Nothing is trivial for me using pthreads.
 I just need that to compile code made by others that I would not like to
 change.


I added at revision 6370 to trunk the function
pthread_attr_getschedpolicy and pthread_attr_setschedpolicy for
winpthread.

Have fun,
Kai

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Victor Bombi
Thanks alot
- Original Message - 
From: Kai Tietz ktiet...@googlemail.com
To: mingw-w64-public@lists.sourceforge.net
Sent: Saturday, November 16, 2013 1:21 PM
Subject: Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented


 2013/11/15 Victor Bombi son...@telefonica.net:

 thanks for answering.
 Nothing is trivial for me using pthreads.
 I just need that to compile code made by others that I would not like to
 change.


 I added at revision 6370 to trunk the function
 pthread_attr_getschedpolicy and pthread_attr_setschedpolicy for
 winpthread.

 Have fun,
 Kai

 --
 DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
 OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
 Free app hosting. Or install the open source package on any LAMP server.
 Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
 http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public 


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-15 Thread Victor Bombi
Hello,

versions posix-sjlj for 32 bits (I need C++11 threading) have
pthread_attr_setschedpolicy not implemented
I think that there are some versions of pthread that implement that feature.
Is there any reason for that? Is this going to change in the future?

best regards
victor


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-15 Thread Kai Tietz
2013/11/15 Victor Bombi son...@telefonica.net:
 Hello,

 versions posix-sjlj for 32 bits (I need C++11 threading) have
 pthread_attr_setschedpolicy not implemented
 I think that there are some versions of pthread that implement that feature.
 Is there any reason for that? Is this going to change in the future?

 best regards
 victor

Well, we support pthread_setschedparam by which you can specify
threading-policy.  Nevertheless, yes we lack this function.  In
general its implementation is pretty much trivial, as on Win32 target
just SCHED_OTHER can be supported.

Kai

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-15 Thread Victor Bombi
another question is:
Why cant we have C++11 threading with non-posix versions?

 Hello,

 versions posix-sjlj for 32 bits (I need C++11 threading) have
 pthread_attr_setschedpolicy not implemented
 I think that there are some versions of pthread that implement that 
 feature.
 Is there any reason for that? Is this going to change in the future?

 best regards
 victor


 --
 DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
 OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
 Free app hosting. Or install the open source package on any LAMP server.
 Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
 http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public 


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public