Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
800ca050
Commit
800ca050
authored
Jul 14, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Jul 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcomp: Implement omp_{get,set}_nested.
parent
4dea3e07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
main.c
dlls/vcomp/main.c
+4
-2
No files found.
dlls/vcomp/main.c
View file @
800ca050
...
...
@@ -31,6 +31,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(vcomp);
static
int
vcomp_max_threads
;
static
int
vcomp_num_threads
;
static
BOOL
vcomp_nested_fork
=
FALSE
;
int
CDECL
omp_get_dynamic
(
void
)
{
...
...
@@ -47,7 +48,7 @@ int CDECL omp_get_max_threads(void)
int
CDECL
omp_get_nested
(
void
)
{
TRACE
(
"stub
\n
"
);
return
0
;
return
vcomp_nested_fork
;
}
int
CDECL
omp_get_num_procs
(
void
)
...
...
@@ -81,7 +82,8 @@ void CDECL omp_set_dynamic(int val)
void
CDECL
omp_set_nested
(
int
nested
)
{
TRACE
(
"(%d): stub
\n
"
,
nested
);
TRACE
(
"(%d)
\n
"
,
nested
);
vcomp_nested_fork
=
(
nested
!=
0
);
}
void
CDECL
omp_set_num_threads
(
int
num_threads
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment