[Freeciv-Dev] [patch #2295] Windows threads

2011-01-12 Thread Marko Lindqvist

Update of patch #2295 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2295] Windows threads

2011-01-10 Thread Marko Lindqvist

Follow-up Comment #2, patch #2295 (project freeciv):

- Fixed crash (with both pthreads and windows threads) caused by parent
thread freeing child function arguments before they were processed
- Pass correct argument pointer to windows implementation of
fc_thread_wrapper()

(file #11769)
___

Additional Item Attachment:

File name: WinThreads_2295-3.diff Size:6 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2295] Windows threads

2011-01-10 Thread Marko Lindqvist

Follow-up Comment #1, patch #2295 (project freeciv):

- Fixed copypaste error in comment
- Include support.h for fc_usleep() prototype fixing compile warning

(file #11765)
___

Additional Item Attachment:

File name: WinThreads_2295-2.diff Size:6 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2295] Windows threads

2011-01-10 Thread Marko Lindqvist

URL:
  

 Summary: Windows threads
 Project: Freeciv
Submitted by: cazfi
Submitted on: Mon 10 Jan 2011 02:19:17 PM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

Support windows threads as underlining thread implementation for fc_threads.

This compiles under MinGW, but is otherwise completely untested.

fc_thread interface required some changes in order to wrap both (pthread &
windows) thread implementations. Most notable limitation is that we cannot get
any kind of return value from exiting thread. This can be worked around later,
if pressing need arises.



___

File Attachments:


---
Date: Mon 10 Jan 2011 02:19:17 PM EET  Name: WinThreads.diff  Size: 6kB   By:
cazfi



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev