aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/w32-pth.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug 537Werner Koch2006-10-021-6/+6
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* (do_pth_event_free): The events are hold in a ringWerner Koch2004-12-201-101/+157
| | | | | | | | | | | | buffer. Adjust for that. (do_pth_event_body): Ditto. (pth_event_isolate): Ditto. (do_pth_wait): Ditto. (_pth_event_count): Renamed to .. (event_count): .. and adjusted as above. (pth_init): Define 3 debug levels and change all debug calls to make use of them. This makes the moule now silent.
* * query.c (initialize_module_query):Werner Koch2004-12-191-72/+59
| | | | | | | | | | * call-scd.c (initialize_module_call_scd): New. * w32-pth.c (pth_init): Enable debugging depending on env var. (pth_self): New. (pth_mutex_release, pth_mutex_acquire): Implemented directly using the W32 API.
* * maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch2004-12-191-7/+19
| | | | | * w32-pth.c (pth_init): Enable debugging depending on env var.
* * configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch2004-12-181-39/+71
| | | | | | | | | | | | | | * autogen.sh: Updated --build-w32 feature. * gpg-agent.c (main): Remove special Pth initialize. * w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE constants. (pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel): Ditto. * scdaemon.c (main) [W32]: Remove special Pth initialize..
* Yep. No lost threads anymore.Werner Koch2004-12-141-38/+57
| | | | | | | | | | | | | | (_pth_strerror): Renamed to ... (w32_strerror): .. this. And let callers provide a buffer. (spawn_helper_thread): Removed HD arg and hardwire the stack size to 32k. (do_pth_wait): Removed use of ATTR; not needed for the helper threads. (helper_thread): Renamed to .. (launch_thread): .. this. Release handle if not joinable. (struct pth_priv_hd_s): Renamed to ... (struct thread_info_s): .. this. Add member JOINABLE and TH.
* 2004-12-14 Timo Schulz <[email protected]>Timo Schulz2004-12-141-52/+75
| | | | | | | | | * w32-pth.c (pth_kill): Just release the crit section if pth_init was really called. And set all handles to NULL. (_pth_strerror): New. (do_pth_wait): Before we enter the loop we check if there are too much events in the ring.
* More fixes. First successful use; leaks threads, though.Werner Koch2004-12-141-52/+82
|
* * w32-pth.h (pth_event_occured): Removed macro.Werner Koch2004-12-141-104/+288
| | | | | | | * w32-pth.c: Fixed license statement; its under the LGPL. (enter_pth, leave_pth): Use them to bracket almost all public functions.
* 2004-12-13 Timo Schulz <[email protected]>Timo Schulz2004-12-131-612/+685
| | | | | | | | | * w32-pth.c (enter_pth, leave_pth): New. (pth_init): Initialize global mutex section. (pth_kill): Release global mutex section. (helper_thread): New. (pth_spawn): Make sure only one thread is running.
* Added real code written by Timo Schulz.Werner Koch2004-12-131-6/+1047
| | | | | Not finished, though.
* * asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch2004-12-071-0/+42
* w32-pth.c, w32-pth.h: New. * Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because under W32 we need the w32 pth code from jnlib. * misc.c (setup_pinentry_env) [W32]: Disabled.