1 |
// qsamplerMainForm.cpp |
// qsamplerMainForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2021, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2022, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007-2019 Christian Schoenebeck |
Copyright (C) 2007-2019 Christian Schoenebeck |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
130 |
{ |
{ |
131 |
char c = 1; |
char c = 1; |
132 |
|
|
133 |
(::write(g_fdSigusr1[0], &c, sizeof(c)) > 0); |
(void) (::write(g_fdSigusr1[0], &c, sizeof(c)) > 0); |
134 |
} |
} |
135 |
|
|
136 |
// File descriptor for SIGTERM notifier. |
// File descriptor for SIGTERM notifier. |
141 |
{ |
{ |
142 |
char c = 1; |
char c = 1; |
143 |
|
|
144 |
(::write(g_fdSigterm[0], &c, sizeof(c)) > 0); |
(void) (::write(g_fdSigterm[0], &c, sizeof(c)) > 0); |
145 |
} |
} |
146 |
|
|
147 |
#endif // HAVE_SIGNAL_H |
#endif // HAVE_SIGNAL_H |