Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Assignment Parallel Graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bogdan-Andrei CIOCEA
Assignment Parallel Graph
Commits
45a959d2
Commit
45a959d2
authored
1 year ago
by
BogdanCiocea
Browse files
Options
Downloads
Patches
Plain Diff
hopefully this will be it for coding style
parent
52f611ca
Branches
master
No related tags found
No related merge requests found
Pipeline
#40854
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/parallel.c
+1
-4
1 addition, 4 deletions
src/parallel.c
with
1 addition
and
4 deletions
src/parallel.c
+
1
−
4
View file @
45a959d2
...
...
@@ -5,6 +5,7 @@
#include
<unistd.h>
#include
<sys/types.h>
#include
<time.h>
#include
<pthread.h>
#include
"os_graph.h"
#include
"os_threadpool.h"
...
...
@@ -17,10 +18,6 @@ static int sum;
static
os_graph_t
*
graph
;
static
os_threadpool_t
*
tp
;
/* TODO: Define graph synchronization mechanisms. */
#include
<pthread.h>
//static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
/* TODO: Define graph task argument. */
static
void
process_node
(
unsigned
int
idx
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment