haiku/src/kernel/core
Axel Dörfler 4e08f1474d Fixed the get_vnode()/new_vnode() race condition by introducing a new
function publish_vnode(). When calling new_vnode(), the node is only
reserved, but not yet accessible for others. Only when you call
publish_vnode(), it will become available. That simplifies new node
handling/locking considerably.
Note, you don't have to call new_vnode() before publish_vnode(); ie.
publish_vnode() acts exactly like new_vnode() did before if used that
way.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-14 01:15:31 +00:00
..
addons Fixed build conflict with new ISA bus manager. 2004-06-07 01:13:49 +00:00
arch There are now two different callbacks for break- and watchpoints. 2005-03-13 23:58:36 +00:00
cache write_cached_block() would write the wrong block in case there was 2005-03-03 01:10:16 +00:00
debug Replaced the old frame buffer console driver with a built-in frame buffer 2005-02-12 03:45:01 +00:00
device_manager Will now also publish directories for existing driver directories that 2005-01-25 02:57:52 +00:00
disk_device_manager Make the compiler happy. Shadowing super class methods with different signature is a very annoying C++ feature. 2005-01-26 14:57:35 +00:00
fs Fixed the get_vnode()/new_vnode() race condition by introducing a new 2005-03-14 01:15:31 +00:00
messaging The reduced area size was used for testing only. 2005-01-30 23:40:17 +00:00
util Moved the kMessageHeaderMagic constant into the class. Made BMessage a friend of KMessage. 2005-01-26 02:10:42 +00:00
vm * user_debug_fault_occurred() -> user_debug_exception_occurred(). 2005-03-12 21:47:21 +00:00
cbuf.c Disabled some unneeded checksum code (cbuf is still "abused" in our ports 2004-11-19 19:11:04 +00:00
console.c Added the new (built-in) frame_buffer_console module to the build. 2005-02-15 00:18:27 +00:00
cpu.c Updated because of header changes. 2004-12-13 23:02:18 +00:00
debug.c Now calls the new arch_dbg_con_init_settings() function. 2005-01-10 07:48:44 +00:00
elf.c Added two more convenience VFS calls: vfs_stat_vnode(), and vfs_get_vnode_name(). 2005-02-02 06:21:31 +00:00
faults.c Include kernel_args.h instead of stage2.h. 2003-10-07 23:12:37 +00:00
gdb.c Removed superfluous htons()/htonl() functions (we already have the 2004-05-31 22:49:06 +00:00
heap.c PARANOID_POINTER_CHECK is now only defined if DEBUG is defined, too, by default. 2004-12-13 22:44:17 +00:00
image.c * Added _user_image_relocated() and _user_loading_app_failed(). 2005-03-12 15:09:09 +00:00
int.c Renamed some init2() functions to init_post_vm() to make clearer when and why 2004-10-21 01:45:43 +00:00
Jamfile Add the newly introduced src/build/cpp_support.cpp to the sources when building under Linux. 2005-03-06 16:51:58 +00:00
kernel_daemon.c No need to have the kernel daemon run immediately. 2004-11-08 14:03:19 +00:00
khash.c New function hash_remove_first() makes emptying a hash table much simpler. 2004-11-10 01:56:22 +00:00
linkhack.c It is accomplished ... 2002-07-09 12:24:59 +00:00
lock.c mutex_lock() will no longer panic() if acquire_sem() failed and the mutex 2005-01-10 07:46:48 +00:00
main.c Added initialization of the messaging service. 2005-01-25 14:48:34 +00:00
misc.c It is accomplished ... 2002-07-09 12:24:59 +00:00
module.c Added the new (built-in) frame_buffer_console module to the build. 2005-02-15 00:18:27 +00:00
pools.c Replaced some more vm_create_anonymous_region() with create_area() and 2003-08-19 17:38:13 +00:00
port.c Actually, ports do support both, B_RELATIVE_TIMEOUT and B_ABSOLUTE_TIMEOUT - 2005-02-27 16:18:07 +00:00
queue.c Replaced kmalloc(), kfree(), and kstrdup() with the POSIX equivalents. 2002-10-29 23:07:06 +00:00
real_time_clock.c Moved initialization of the arch depending real_time_data fields into the arch 2005-01-26 18:30:50 +00:00
scheduler.c Changed the way user/kernel time is tracked for threads. Now, thread_at_kernel_entry() 2005-02-11 03:10:21 +00:00
sem.c Added support for new flag B_KILL_CAN_INTERRUPT. 2005-02-25 14:11:52 +00:00
shutdown.c Fixed set_timezone() 2004-11-28 23:13:22 +00:00
signal.c * Check the thread debug signal ignore masks before notifying the debugger 2005-03-12 21:45:49 +00:00
smp.c Replaced all remaining PAGE_SIZE with B_PAGE_SIZE and "addr" with addr_t. 2004-10-20 00:19:38 +00:00
syscalls.c Include the syscall info array generated by gensyscalls. 2005-02-11 04:56:11 +00:00
sysctl.c Removed unnecessary reference to ktypes.h. 2004-11-19 21:56:02 +00:00
system_info.c Threads and teams now maintain a used counter - they also provide a maximum 2004-11-30 21:11:37 +00:00
team.c load_team_etc() now optionally waits for the new team to be loaded 2005-03-12 15:13:51 +00:00
thread.c Renamed threadIDEnd to lastThreadID as I think it's clearer. 2005-03-09 02:05:18 +00:00
timer.c Applied ages old cleanup patch from Jack Burton. 2004-03-14 18:02:22 +00:00
user_debugger.cpp * Various modifications needed due to the changes in <debugger.h>. 2005-03-13 23:57:34 +00:00