Implemented windows implementation of uniproc
This commit is contained in:
18
include/uniproc.h
Normal file
18
include/uniproc.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <Windows.h>
|
||||
typedef struct {
|
||||
FILE* in;
|
||||
FILE* out;
|
||||
FILE* err;
|
||||
|
||||
// OS-dependent handle to the process
|
||||
uint32_t _proc_hdl;
|
||||
|
||||
} uniproc_process;
|
||||
|
||||
uniproc_process uniproc_create_process(const char* cmd);
|
||||
void uniproc_await_processes(uniproc_process* p, int* return_codes, size_t num_processes);
|
||||
void uniproc_close_process(uniproc_process* p);
|
||||
Reference in New Issue
Block a user