Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
0dcc5586
Commit
0dcc5586
authored
May 23, 2017
by
Oliver Heidmann
Browse files
some formatting
parent
7cfd43ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/process.cc
View file @
0dcc5586
...
...
@@ -41,14 +41,10 @@
#include
"pstream_int.h"
#include
"dmemory.h"
#if defined(HAVE_LIBPTHREAD)
pthread_mutex_t
processMutex
=
PTHREAD_MUTEX_INITIALIZER
;
#endif
int
processCreate
(
void
)
{
#if defined(HAVE_LIBPTHREAD)
...
...
src/process.h
View file @
0dcc5586
...
...
@@ -18,6 +18,9 @@
#ifndef _PROCESS_H
#define _PROCESS_H
#include
<sys/types.h>
/* off_t */
#include
"util.h"
constexpr
int
MAX_PROCESS
=
128
;
constexpr
int
MAX_STREAM
=
64
;
constexpr
int
MAX_OPERATOR
=
128
;
...
...
@@ -33,9 +36,6 @@ typedef struct {
}
oper_t
;
#include
<sys/types.h>
/* off_t */
#include
"util.h"
typedef
struct
{
#if defined(HAVE_LIBPTHREAD)
pthread_t
threadID
;
...
...
@@ -66,7 +66,6 @@ typedef struct {
}
process_t
;
static
process_t
Process
[
MAX_PROCESS
];
static
int
NumProcess
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment