patchGNUstep - Patches: patch #3268, Run Loops with...

Group
 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3268: Run Loops with WaitForMultipleObjects in Mingw

Submitter:  Luis Cabellos <Zhen>
Submitted:  Fri 06 Aug 2004 03:01:33 PM UTC
   
 
Category:  Foundation Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  fedor Open/Closed:  Closed

Sat 02 Apr 2005 07:53:49 AM UTC, comment #5: 

I thought I should close this patch as it's now applied.

Richard Frith-Macdonald <CaS>
Group Member
Wed 23 Feb 2005 04:14:58 PM UTC, comment #4: 

I applied this patch with quite a bit of rewriting in places.
Tested for -
NSSocketPort basic client/server DO.
NSSocketPort inter-thread DO.
NSURLHandle (which uses NSFileHandle internally) http download.


Richard Frith-Macdonald <CaS>
Group Member
Tue 30 Nov 2004 03:55:39 AM UTC, comment #3: 

This patch is currently in the mingw-runloop branch of base.  It needs someone to test it on Windows and provide some feedback,

Adam Fedor <fedor>
Group administrator
Wed 01 Sep 2004 10:02:47 AM UTC, comment #2: 

I have since been told that the documentation/FAQ I read which told me that select supported more than 64 descriptors was wrong.
Had I known that when I did the original port, I'd have used MsgWaitForMultipleObjects right from day one!
I'd certainly like to see this patch applied as soon as possible - but it's a big one ... is the copyright assigned to the FSF?

Richard Frith-Macdonald <CaS>
Group Member
Thu 19 Aug 2004 03:49:46 PM UTC, comment #1: 

I remember that I suggested a similar change to the windows MsgWaitForMultipleObjects functions years ago and Richard explained to me at that time, the big problem with this function was that it only allows a limited amount of handles (In the cygwin headers the limit is 64) and this would not be sufficent for GNUstep.
Perhaps Richard could comment on this patch?

Fred Kiefer <FredKiefer>
Group Member
Fri 06 Aug 2004 03:01:33 PM UTC, original submission:  

Replace "select" function with "WaitForMultipleObjects" function in the Mingw version of GNUStep Run Loop. Replace sockets descriptors with win32 Handles to work with it. See [bugs #7952] that fix.
Also wake in backend win32 messages instead of polling for it.
This patch only affects the migw32 code and let everything else the same.

Luis Cabellos <Zhen>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7739:  diff.back added by Zhen (758B - application/octet-stream - Patch file of win32 backend)
file #7738:  README.TXT added by Zhen (5KiB - text/plain - detailed explain)
file #7737:  diff.base added by Zhen (200KiB - application/octet-stream - Patch file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-04-02 CaS Open/ClosedOpen Closed
2005-02-23 CaS StatusNone Done
2004-11-30 fedor Assigned toNone fedor
2004-08-06 Zhen Attached File- Added diff.back, #3543
2004-08-06 Zhen Attached File- Added README.TXT, #3542
2004-08-06 Zhen Attached File- Added diff.base, #3541

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code