Christopher Faylor ec98d19a08 * wininfo.h (wininfo::timer_active): Delete.
(wininfo::itv): Ditto.
(wininfo::start_time): Ditto.
(wininfo::window_started): Ditto.
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(wininfo::wininfo): Ditto.
(wininfo::lock): New method.
(wininfo::release): Ditto.
* window.cc: Use new lock/acquire wininfo methods throughout.
(wininfo::wininfo): Delete
(wininfo::getitimer): Ditto.
(wininfo::setitimer): Ditto.
(getitimer): Ditto.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
(wininfo::lock): Define new function.
(wininfo::release): Ditto.
(wininfo::process): Delete WM_TIMER handling.
* timer.cc (struct timetracker): Delete it, flags.  Add it_interval,
interval_us, sleepto_us, running, init_muto(), syncthread, and gettime().
(ttstart): Make NO_COPY.
(lock_timer_tracker): New class.
(timer_tracker::timer_tracker): Distinguish ttstart case.
(timer_tracker::~timer_tracker): New destructor.  Clean out events, and reset
magic.
(timer_tracker::init_muto): New method.
(to_us): Round up as per POSIX.
(timer_thread): Reorganize to match timer_tracker::settime and
timer_tracker::gettime.  Call sig_send without wait.  Call auto_release.
(timer_tracker::settime): Reorganize logic to avoid race.  Call gettime to
recover old value.
(timer_tracker::gettime): New method.
(timer_create): Properly set errno on invalid timerid.  Use new
lock_timer_tracker method.
(timer_delete): Ditto.  Simplify code slightly.
(timer_gettime): New function.
(fixup_timers_after_fork): Reinit ttstart.
(getitimer): New implementation.
(setitimer): Ditto.
(ualarm): Ditto.
(alarm): Ditto.
* cygwin.din: Export timer_gettime.
* winsup.h: Remove has has_visible_window_station declaration.
* Makefile.in (DLL_OFILES): Add lsearch.o.
* cygthread.h (cygthread::notify_detached): New element.
(cygthread::cygthread): Take optional fourth argument signifying event to
signal on thread completion.
* cygthread.cc (cygthread::stub): Signal notify_detached event, if it exists.
(cygthread::cygthread): Initialize notify_detached from fourth argument.
(cygthread::detach): Wait for notify_detached field is present.
* lsearch.cc: New file.
* search.h: Ditto.
* include/cygwin/version.h: Bump API minor number to 126.
* cygwin.din: Export lsearch, lfind.
2005-03-27 01:57:38 +00:00
..
2001-12-20 03:03:59 +00:00
2004-12-05 02:30:20 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2004-01-20 03:11:39 +00:00
2005-03-23 17:11:24 +00:00
2005-03-16 17:07:32 +00:00
2001-10-12 01:51:21 +00:00
2004-05-12 16:21:18 +00:00
2005-02-20 04:25:33 +00:00
2005-02-13 18:17:29 +00:00
2005-02-13 18:17:29 +00:00
2005-02-13 18:17:29 +00:00
2005-02-20 04:25:33 +00:00
2002-12-12 03:09:38 +00:00
2001-10-28 23:05:49 +00:00
.
2002-05-04 04:30:57 +00:00
2004-03-14 05:35:19 +00:00
2002-02-11 02:25:42 +00:00
2004-12-05 02:30:20 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2004-02-04 22:40:50 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2003-07-07 05:32:24 +00:00
2004-04-16 21:22:13 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2005-02-20 04:25:33 +00:00
2004-12-27 19:03:56 +00:00
2004-07-20 16:08:49 +00:00
2004-12-27 19:03:56 +00:00
2003-03-09 20:31:07 +00:00
2005-03-16 17:07:32 +00:00
2005-02-20 04:25:33 +00:00