Commit Graph

2119 Commits

Author SHA1 Message Date
ejakowatz
4a0ef275e3 A templatized adaptation of BAutolock. Any class which supplies the
necessary functions can be managed with BObjectLocker:
	bool Lock()		--	returns whether lock succeeded
	void Unlock()	--	unlocks the client instance


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:06:31 +00:00
ejakowatz
df226cd7b3 A new class to manage the list of loopers in a team. Provides the
functionality of the existing static BLooper functions (which now call
through to it) in a nicer package.  New code should use the global instance
of this (BPrivate::gLooperList) instead of the old BLooper functions (which
are officially deprecated).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-15 16:04:06 +00:00
David Reid
e927084dbf This is now in another header file and so not required here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 14:52:28 +00:00
Axel Dörfler
eba8b6cfb9 Next update of the VFS: more posix like open/create; divided create in
sys_create(), and sys_create_dir(), open in sys_open(), and sys_open_dir().
Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:08:26 +00:00
beveloper
85493f0665 Updated to the API changes introduced by BeOS R4's legacy BeOS R3 sound driver API support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 02:42:32 +00:00
beveloper
fc38cfc784 Updated to the API changes introduced by BeOS R4's legacy BeOS R3 sound driver API support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 02:38:00 +00:00
David Reid
6b3dbd281b drivers.h -> Drivers.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:28:12 +00:00
David Reid
5f79d3a87b drivers -> Drivers...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 23:26:20 +00:00
David Reid
03b2717394 We have iovec's now and add the api version define.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:20:37 +00:00
beveloper
00e8ee39e9 adding a header file that implements the BeOS R3 style sound driver interface
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 12:35:15 +00:00
David Reid
f16873a60e OK, final change to error codes for a while I hope.
- remove private/kernel/Errors.h as this was just plain wrong to have it
  there and confused issues somewhat.
- add the kerrors.h file that has kernel only error codes, namely the
  ERR_ codes from newos.
- add comments for the other header files to tell people where to find
  error code definitions in an attempt to stop people getting lost!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 22:17:09 +00:00
David Reid
d69c1d7983 Move errno.h to it's correct place
Adjust Errors.h to use errno.h for the posix error codes
add first stab at limits.h, albeit not using the gcc headers at
present for intel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@88 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 20:39:30 +00:00
beveloper
0022ddd9d6 Adding the multiaudio driver header.
It was available on request from Be, after they had introduced the API
in a newsletter article. You did not have to sign an NDA to get it, but
it was never included in the BeOS distribution.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@68 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 23:58:15 +00:00
David Reid
cda78f2486 Start adding the networking headers in their correct place and with
the correct things in them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@64 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:10:23 +00:00
Axel Dörfler
f8d7610714 Added the syscalls for sys_read_dir(), and sys_rewind_dir().
sys_read_dir() now has a parameter for the maximum number of dirents that
are handled by the upper layer - which is currently 1.
Added a comment in fd.h to ease the location of the sys|user prototypes
of the corresponding functions in fd.c.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@58 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:46:34 +00:00
David Reid
48535f1870 offsetof, insque and remque can be used throughout the kernel,
so move their definitions here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@35 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:17:22 +00:00
Ingo Weinhold
64f6603fbe Include the official DataIO.h rather than MallocIO.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@26 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:59:18 +00:00
Ingo Weinhold
232067ccbb Moved StorageDefs.Private.h to the public headers. Strange, but it is needed by them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@21 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 01:47:48 +00:00
ejakowatz
52a3801208 It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00