Alexandre Julliard
1d2eb37bde
Ignore __pthread_rwlock_unlock call if the pthread functions are not
...
initialized yet.
2003-09-25 20:30:18 +00:00
Alexandre Julliard
3bff2b3c9c
Authors: Juraj Hercek <juraj@syncad.com>, Eric Frias <efrias@syncad.com>
...
Implemented pthread conditions.
2003-09-23 22:59:44 +00:00
Alexandre Julliard
52f692fb9b
Moved the wine server client-side support to dlls/ntdll. Removed a
...
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Gabriele Giorgetti
59b2ad62db
Fix build with old libc.
2003-09-18 20:52:24 +00:00
Alexandre Julliard
bff860c4b1
Moved synchronization and syslevel routines to dlls/kernel.
2003-09-18 04:39:13 +00:00
Alexandre Julliard
aaf3503ea5
Moved almost all remaining process, thread, fiber and exception
...
functions to dlls/kernel.
2003-09-17 05:31:32 +00:00
Alexandre Julliard
0f170015f1
Moved most 32-bit heap functions to dlls/kernel.
2003-09-16 20:34:14 +00:00
Alexandre Julliard
dbb2b80f11
Added ptr___pthread_cond_timedwait in the pthread_functions structure
...
to match the latest glibc.
2003-09-11 01:09:09 +00:00
Alexandre Julliard
2eb5d8b9b1
On TlsFree, clear the released TLS index in all threads.
2003-09-08 19:02:01 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Alexandre Julliard
ca3bfd8318
Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
...
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Alexandre Julliard
b91e9cb3e6
Renamed a few more TEB fields.
2003-08-28 03:44:41 +00:00
Alexandre Julliard
54acf626c5
Added missing functions for platforms that don't build the pthreads
...
emulation (reported by Todd Vierling).
2003-08-28 03:05:18 +00:00
Alexandre Julliard
02f2813968
Renamed a few TEB fields to use the "official" names.
2003-08-27 23:14:29 +00:00
Alexandre Julliard
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Alexandre Julliard
5fbb446cfc
Moved most of the 16-bit task support and NE module loader to
...
dlls/kernel.
2003-08-23 00:03:40 +00:00
Alexandre Julliard
aee989a7ed
Store the debug info structure on the thread stack.
...
Moved thread initialization code from sysdeps.c to thread.c to avoid
an indirection.
2003-08-21 21:34:33 +00:00
Eric Pouech
449d10fd79
Fixed regression in process creation (std handle inheritance).
2003-08-19 01:05:17 +00:00
Alexandre Julliard
03d7998970
Moved __errno_location() handling to pthread.c, and added similar
...
handling for __res_state().
2003-08-15 03:55:06 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard
97d862c93c
Fixed the pthread wrappers to work with the new glibc/linuxthreads
...
interface in glibc 2.3.2.
2003-08-12 18:59:13 +00:00
Alexandre Julliard
e8b2630620
Use NtQueryInformationThread to implement GetExitCodeThread.
2003-07-09 19:58:01 +00:00
Alexandre Julliard
8ca7e0af78
Added a file_exists argument to wine_dll_load to allow checking
...
whether a failed dll load is because the file didn't exist; more
robust than trying to guess the contents of the error string...
Get rid of BUILTIN32_dlopen.
2003-07-03 18:23:10 +00:00
Eric Pouech
675b75597b
- removed next & prev fields from WINE_MODREF and implement instead
...
the three linked lists in LDR_MODULE
- added PEB_LDR_DATA structure to PEB
- removed a couple of no longer needed global & static variables
2003-07-01 03:38:56 +00:00
Alexandre Julliard
217fdab78f
Implemented NtDelayExecution and make Sleep call it.
...
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Alexandre Julliard
4cb212063b
Moved some of the process functions to dlls/kernel.
...
Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll.
2003-06-27 04:08:04 +00:00
Alexandre Julliard
dc4b0c7655
Moved tape.c to dlls/kernel.
...
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Eric Pouech
412d37f6e6
- adapted kernel32 so that it no longer (directly) manages console
...
handles as wineserver handles
- console input handle object is no longer waitable (input record
synchronisation is now implemented as a simple semaphore), and removed
FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
(CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
(FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Eric Pouech
b53b5bcb50
- fixed a couple of bugs in ntdll environment functions (one in trace,
...
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
structure.
- later on in kernel32 loading sequence, those parameters are copied
into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
console is better handled; a few more kernel32 environment tests now
pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Lionel Ulmer
370db5b47c
Implemented a semi-stub for GetProcessPriorityBoost.
2003-06-04 20:17:00 +00:00
Alexandre Julliard
6bc5091160
Start to make use of the proper PEB structure for process
...
information.
2003-05-22 03:44:01 +00:00
Alexandre Julliard
81e72d8f2d
Moved all process initialisation code to process.c and removed
...
loader/main.c.
2003-05-20 19:21:43 +00:00
Eric Pouech
c00a4473bd
Implement anonymous pipes on top of named pipes.
2003-05-20 04:32:53 +00:00
Alexandre Julliard
9bf3ac619e
Moved timer functions to dlls/kernel.
2003-05-20 04:14:45 +00:00
Eric Pouech
4c591d4ef3
Implemented timer related functions in ntdll and make the kernel32
...
functions use them.
2003-05-20 04:00:42 +00:00
Francois Gouget
8458040172
Fix CreateProcess("c:\Program Files\hello.bat").
2003-05-19 23:16:12 +00:00
Alexandre Julliard
c963e25c0e
Get rid of the 32-bit user signal proc since we always run builtin
...
USER now. Moved USER module cleanups to the 16-bit signal proc.
2003-05-15 23:11:00 +00:00
Eric Pouech
35d5d06ac9
Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
...
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Alexandre Julliard
adb532903c
Rewrote module TLS support and moved it to ntdll.
2003-05-14 19:51:14 +00:00
Alexandre Julliard
e15aadd58a
Allocate/free the 16-bit thread stack in the kernel dll init routine.
2003-05-13 00:49:49 +00:00
Adam Gundy
5548822a7d
writejump() needs to tell valgrind which piece of code has been
...
modified.
2003-05-08 21:03:30 +00:00
Eric Pouech
2d758c6444
Implemented a bunch of environment related NTDLL APIs.
2003-05-08 03:47:00 +00:00
Alexandre Julliard
fedc411743
Moved the functionality of starting Win16 and DOS programs from the
...
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Alexandre Julliard
22ae4ff608
Set SA_NOCLDWAIT in the SIGCHLD sigaction to avoid zombies.
2003-04-20 02:48:06 +00:00
Alexandre Julliard
a058584d4c
Explicitly call VERSION_Init with the main exe file name, so that
...
application settings work for Win16 and DOS apps too.
2003-04-20 02:46:44 +00:00
Yorick Hardy
ea3342de42
errno should not be used as a variable name.
2003-04-13 01:04:25 +00:00
Alexandre Julliard
088bcf9ca5
Implemented NtQueueApcThread, and changed the server APC interface to
...
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00