Commit bf4daa33 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

vcomp: Implement _vcomp_master_begin and _vcomp_master_end.

parent 2c8f5e09
......@@ -489,6 +489,18 @@ void CDECL _vcomp_set_num_threads(int num_threads)
vcomp_init_thread_data()->fork_threads = num_threads;
}
int CDECL _vcomp_master_begin(void)
{
TRACE("()\n");
return !vcomp_init_thread_data()->thread_num;
}
void CDECL _vcomp_master_end(void)
{
TRACE("()\n");
/* nothing to do here */
}
int CDECL _vcomp_single_begin(int flags)
{
TRACE("(%x): stub\n", flags);
......
......@@ -68,8 +68,8 @@
@ stub _vcomp_get_thread_num
@ stub _vcomp_leave_critsect
@ stub _vcomp_master_barrier
@ stub _vcomp_master_begin
@ stub _vcomp_master_end
@ cdecl _vcomp_master_begin()
@ cdecl _vcomp_master_end()
@ stub _vcomp_ordered_begin
@ stub _vcomp_ordered_end
@ stub _vcomp_ordered_loop_end
......
......@@ -68,8 +68,8 @@
@ stub _vcomp_get_thread_num
@ stub _vcomp_leave_critsect
@ stub _vcomp_master_barrier
@ stub _vcomp_master_begin
@ stub _vcomp_master_end
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
@ stub _vcomp_ordered_begin
@ stub _vcomp_ordered_end
@ stub _vcomp_ordered_loop_end
......
......@@ -69,8 +69,8 @@
@ stub _vcomp_get_thread_num
@ stub _vcomp_leave_critsect
@ stub _vcomp_master_barrier
@ stub _vcomp_master_begin
@ stub _vcomp_master_end
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
@ stub _vcomp_ordered_begin
@ stub _vcomp_ordered_end
@ stub _vcomp_ordered_loop_end
......
......@@ -68,8 +68,8 @@
@ stub _vcomp_get_thread_num
@ stub _vcomp_leave_critsect
@ stub _vcomp_master_barrier
@ stub _vcomp_master_begin
@ stub _vcomp_master_end
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
@ stub _vcomp_ordered_begin
@ stub _vcomp_ordered_end
@ stub _vcomp_ordered_loop_end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment