its semaphores get deleted, thanks to Jack Burton for reporting.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6904 a95241bf-73f2-0310-859d-f6bbb57e9c96
flag was reported by Bill Hayden).
I fixed only this method, and nothing else, but please have a look at how
I did it, and apply the same fixes, thanks!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6902 a95241bf-73f2-0310-859d-f6bbb57e9c96
the info from the wrong end of the queue.
find_port() did not return the correct error codes.
write_port_etc() checked incorrectly for a deleted semaphore.
B_WOULD_BLOCK would let various functions print out a warning for no reason
(the comments in the code actually didn't fit to the implementation).
"total_count" was counting the number of messages written, not those that
have been read (as the BeBook says).
Thanks to Bill Hayden who reported a lot of these.
Added TRACE macro and moved some of the dprintf()s to that.
Added/fixed some comments.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6901 a95241bf-73f2-0310-859d-f6bbb57e9c96
run. Also create_port() now changes the port ID only when the port lock is
grabbed, so that we don't need to acquire the port list lock in find_port().
Removed setting lock to "0" in create_port() because if it's not 0 in the
first place, there is something seriously wrong (should add an assert there).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6897 a95241bf-73f2-0310-859d-f6bbb57e9c96
- BWindow::SetSizeLimits() don't change the window size if it's bigger than the
maximum.
- BTabView::Select() crashes when the view is not yet attached to a window.
- BMenuItem::DrawContent() has wrong drawing mode set (not really a big issue,
but I think Draw() should call DrawContent() with correct and usable values)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6894 a95241bf-73f2-0310-859d-f6bbb57e9c96
The checkbox and the "find" button are now in the same row to make
the window a bit smaller.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6893 a95241bf-73f2-0310-859d-f6bbb57e9c96
I don't know which part of me has written the previous version, but
it seems not have been supervised by a brain while doing it.
The read requests are now maintained per inode (as it has to be),
and there is one read lock per request.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6891 a95241bf-73f2-0310-859d-f6bbb57e9c96
Removed old ERR_* error codes.
Removed funny area names in rldheap.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6884 a95241bf-73f2-0310-859d-f6bbb57e9c96
read_data(), has_data(), and receive_data() are no longer exported
by this file, but their _kern_*() equivalents are now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6877 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added commented out wait_for_team() which we might want to have in the
final version, too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6875 a95241bf-73f2-0310-859d-f6bbb57e9c96
find_thread() is now correct.
Moved send_data(), has_data(), and receive_data() back into this file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6874 a95241bf-73f2-0310-859d-f6bbb57e9c96
Moved wait_for_team() into the exported kernel API region.
Added missing call for _user_get_current_team().
Made the team_kill_team() call to the BeOS compatible kill_team().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6868 a95241bf-73f2-0310-859d-f6bbb57e9c96
Renamed the thread/team syscalls to the new naming scheme.
Some other minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6867 a95241bf-73f2-0310-859d-f6bbb57e9c96
It is far from finished (all add-ons are missing). The hacks should be removed...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6856 a95241bf-73f2-0310-859d-f6bbb57e9c96