ff97a903b8
wpthread: improved code and avoid memory alloc during thread creation
...
wsdl and tex: use british english terms
This was SVN commit r2594.
2005-08-10 00:33:15 +00:00
5299dcad86
- config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros
...
- debug: add provision for naming threads. allows adding current thread
name to log messages and displays their names in the debugger.
- replaced various if(err < 0) complain() sequences with new variants of
CHECK_ERR (see lib.h)
- fixes to mmgr/VC debug alloc enable code
- improved h_mgr error reporting (now complains when h_free fails)
- US -> UK english (partial)
- fix tex_load double-free bug
- move win32 mouse cursor code into sysdep
- error dialog is now topmost to make sure it's visible (was a problem)
- handle WM_QUIT before displaying error dialog (makes sure it's shown)
also as in previous 3 revisions.
This was SVN commit r2588.
2005-08-09 16:23:19 +00:00
ec6b78b252
rename assert2 debug_assert; use instead of all plain assert(), since there are no longer any issues (e.g. can't use while handling an exception)
...
This was SVN commit r2447.
2005-06-28 04:06:25 +00:00
758251edfd
further debug_out -> debug_printf; (comment) cleanup
...
ogl_tex: minor formatting improvements
This was SVN commit r2286.
2005-05-11 22:40:19 +00:00
1b202fb0ea
lockfree: very rough beginnings of lockfree allocator
...
wpthread: no longer include lockfree.h (required functions are now in
sysdep/cpu.h)
This was SVN commit r2223.
2005-05-12 17:18:32 +00:00
4566893042
add include guards; reflect lockfree.h rename
...
This was SVN commit r2184.
2005-04-27 16:16:52 +00:00
c5af0c43d9
wposix_types: better standards conformance
...
wpthread: fix bugs in tls_call_dtors and pthread_create; minor
improvements
This was SVN commit r2171.
2005-04-26 16:49:09 +00:00
c179210519
pthread: add pthread_once and thread-local storage
...
This was SVN commit r2123.
2005-04-09 22:26:48 +00:00
fea0755911
wpthread - better comments
...
wtime - fix stupid CALIBRATION_FREQ bug - it was set to 1000 [i.e. "ms
interval"]
This was SVN commit r2048.
2005-03-25 20:24:39 +00:00
481cd97d92
fix timeout calc bug reported by philip (thanks!)
...
This was SVN commit r2047.
2005-03-25 18:55:26 +00:00
5460b8982e
Various small fixes and minimal improvements
...
This was SVN commit r2035.
2005-03-22 13:54:37 +00:00
468657479c
philip points out precompiled.h -> string_s.h includes posix.h - too heavy for the PCH
...
replaced that with posix_types.h, which now defines size_t.
this change exposed a lot of code that relied on posix.h being included
implicitly; fixed those as well.
This was SVN commit r2015.
2005-03-18 22:44:55 +00:00
9a75e31bbd
wsdl: cleanup semaphore code, move mouse functions near other "misc" functions
...
wpthread: document problem encountered with CreateThread
win_internal: minor cleanup
This was SVN commit r2009.
2005-03-18 22:09:44 +00:00
3050d4c7fe
posix: add semaphore.h
...
wposix: add ETIMEDOUT errno
wpthread: interface fix (was returning void from 2 functions); cleanup;
removed TerminateThread (dangerous!); add sem_timedwait
wtime: thread implementation switched to pthread - avoids
TerminateThread issue
This was SVN commit r1976.
2005-03-09 15:52:35 +00:00
6d807d1c9f
add win_alloc, used by wpthread to allocate memory for critical sections (safe allocator that may be called at any time, even before _cinit and during static dtors)
...
This was SVN commit r1882.
2005-01-30 17:40:24 +00:00
f25f6a2d70
wdbg: fix crash when exiting abnormally (alt+f4) - was erasing elements from container while iterating through it
...
win internal files: slight changes while looking through
This was SVN commit r1850.
2005-01-28 18:16:51 +00:00
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
09985eaa7e
split thread/mutex/sem defs out of wposix to wpthread (reduce default dependencies)
...
waio: add include guard; include from waio.cpp
This was SVN commit r1839.
2005-01-27 15:46:02 +00:00