Browse Source

print SHM type message

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@838 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.109.0
joq 21 years ago
parent
commit
4e1c06db7a
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libjack/shm.c

+ 5
- 0
libjack/shm.c View File

@@ -1,5 +1,6 @@
/*
Copyright (C) 2003 Paul Davis
Copyright (C) 2004 Jack O'Quin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -38,8 +39,10 @@

#ifdef USE_POSIX_SHM
static jack_shmtype_t jack_shmtype = shm_POSIX;
static char *shmtype_name = "POSIX";
#else
static jack_shmtype_t jack_shmtype = shm_SYSV;
static char *shmtype_name = "System V";
#endif

/* interface-dependent forward declarations */
@@ -235,6 +238,8 @@ jack_register_server (const char *server_name)
int i;
pid_t my_pid = getpid ();

fprintf (stderr, "JACK compiled with %s SHM support.\n", shmtype_name);

jack_shm_lock_registry ();

/* See if server_name already registered. Since server names


Loading…
Cancel
Save