aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-07-15 19:14:02 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-07-15 19:14:02 +0200
commit81829bd80630546a45be8ad4d1a4a04ee9373b20 (patch)
treedc58f3ae1e2548362a50aeed463ab3e062156dbd
parentba231164942c9cab69d20b19d90dc8d9158641d1 (diff)
downloadpatchmatrix-master.zip
patchmatrix-master.tar.gz
patchmatrix-master.tar.bz2
patchmatrix-master.tar.xz
use vfork instead of fork.HEADmaster
-rw-r--r--VERSION2
-rw-r--r--patchmatrix_db.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index bc300b9..e78439d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.15.9
+0.15.11
diff --git a/patchmatrix_db.c b/patchmatrix_db.c
index 7d02009..b40ff4e 100644
--- a/patchmatrix_db.c
+++ b/patchmatrix_db.c
@@ -815,7 +815,7 @@ _port_find_by_body(app_t *app, jack_port_t *body)
void
_mixer_spawn(app_t *app, unsigned nsinks, unsigned nsources)
{
- pthread_t pid = fork();
+ pthread_t pid = vfork();
if(pid == 0) // child
{
char sink_nums[32];
@@ -875,7 +875,7 @@ _mixer_free(mixer_shm_t *mixer_shm)
void
_monitor_spawn(app_t *app, unsigned nsinks)
{
- pthread_t pid = fork();
+ pthread_t pid = vfork();
if(pid == 0) // child
{
char sink_nums [32];