vcomp: Implement _vcomp_master_begin and _vcomp_master_end.

This commit is contained in:
Sebastian Lackner 2015-08-07 08:20:27 +02:00 committed by Alexandre Julliard
parent 2c8f5e09ed
commit bf4daa3395
5 changed files with 20 additions and 8 deletions

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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