* fhandler_socket.cc: Create shared objects session local throughout.

* shared.cc (shared_name): Add argument to allow opening session
	local shared memory.
	* shared_info.h (shared_name): Change declaration accordingly.
This commit is contained in:
Corinna Vinschen
2008-03-27 10:43:14 +00:00
parent 4af0c5e8f3
commit e21ac1ebdb
4 changed files with 17 additions and 7 deletions

View File

@ -176,7 +176,7 @@ struct console_state
};
#endif
char *__stdcall shared_name (char *, const char *, int);
char *__stdcall shared_name (char *, const char *, int, bool = false);
void *__stdcall open_shared (const char *name, int n, HANDLE &shared_h, DWORD size,
shared_locations&, PSECURITY_ATTRIBUTES psa = &sec_all,
DWORD access = FILE_MAP_READ | FILE_MAP_WRITE);