Commit 0dcc5586 authored by Oliver Heidmann's avatar Oliver Heidmann
Browse files

some formatting

parent 7cfd43ac
......@@ -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)
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment