vcomp: Implement _vcomp_master_begin and _vcomp_master_end.
This commit is contained in:
parent
2c8f5e09ed
commit
bf4daa3395
|
@ -489,6 +489,18 @@ void CDECL _vcomp_set_num_threads(int num_threads)
|
||||||
vcomp_init_thread_data()->fork_threads = 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)
|
int CDECL _vcomp_single_begin(int flags)
|
||||||
{
|
{
|
||||||
TRACE("(%x): stub\n", flags);
|
TRACE("(%x): stub\n", flags);
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
@ stub _vcomp_get_thread_num
|
@ stub _vcomp_get_thread_num
|
||||||
@ stub _vcomp_leave_critsect
|
@ stub _vcomp_leave_critsect
|
||||||
@ stub _vcomp_master_barrier
|
@ stub _vcomp_master_barrier
|
||||||
@ stub _vcomp_master_begin
|
@ cdecl _vcomp_master_begin()
|
||||||
@ stub _vcomp_master_end
|
@ cdecl _vcomp_master_end()
|
||||||
@ stub _vcomp_ordered_begin
|
@ stub _vcomp_ordered_begin
|
||||||
@ stub _vcomp_ordered_end
|
@ stub _vcomp_ordered_end
|
||||||
@ stub _vcomp_ordered_loop_end
|
@ stub _vcomp_ordered_loop_end
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
@ stub _vcomp_get_thread_num
|
@ stub _vcomp_get_thread_num
|
||||||
@ stub _vcomp_leave_critsect
|
@ stub _vcomp_leave_critsect
|
||||||
@ stub _vcomp_master_barrier
|
@ stub _vcomp_master_barrier
|
||||||
@ stub _vcomp_master_begin
|
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
|
||||||
@ stub _vcomp_master_end
|
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
|
||||||
@ stub _vcomp_ordered_begin
|
@ stub _vcomp_ordered_begin
|
||||||
@ stub _vcomp_ordered_end
|
@ stub _vcomp_ordered_end
|
||||||
@ stub _vcomp_ordered_loop_end
|
@ stub _vcomp_ordered_loop_end
|
||||||
|
|
|
@ -69,8 +69,8 @@
|
||||||
@ stub _vcomp_get_thread_num
|
@ stub _vcomp_get_thread_num
|
||||||
@ stub _vcomp_leave_critsect
|
@ stub _vcomp_leave_critsect
|
||||||
@ stub _vcomp_master_barrier
|
@ stub _vcomp_master_barrier
|
||||||
@ stub _vcomp_master_begin
|
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
|
||||||
@ stub _vcomp_master_end
|
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
|
||||||
@ stub _vcomp_ordered_begin
|
@ stub _vcomp_ordered_begin
|
||||||
@ stub _vcomp_ordered_end
|
@ stub _vcomp_ordered_end
|
||||||
@ stub _vcomp_ordered_loop_end
|
@ stub _vcomp_ordered_loop_end
|
||||||
|
|
|
@ -68,8 +68,8 @@
|
||||||
@ stub _vcomp_get_thread_num
|
@ stub _vcomp_get_thread_num
|
||||||
@ stub _vcomp_leave_critsect
|
@ stub _vcomp_leave_critsect
|
||||||
@ stub _vcomp_master_barrier
|
@ stub _vcomp_master_barrier
|
||||||
@ stub _vcomp_master_begin
|
@ cdecl _vcomp_master_begin() vcomp._vcomp_master_begin
|
||||||
@ stub _vcomp_master_end
|
@ cdecl _vcomp_master_end() vcomp._vcomp_master_end
|
||||||
@ stub _vcomp_ordered_begin
|
@ stub _vcomp_ordered_begin
|
||||||
@ stub _vcomp_ordered_end
|
@ stub _vcomp_ordered_end
|
||||||
@ stub _vcomp_ordered_loop_end
|
@ stub _vcomp_ordered_loop_end
|
||||||
|
|
Loading…
Reference in New Issue