Обновление подмодулей
This commit is contained in:
parent
4519190768
commit
c418aa8df0
@ -1 +1 @@
|
|||||||
Subproject commit 186d67c4bbc2fa91ecfd837d753631610aff0b1d
|
Subproject commit 5c90828e4e189e78fce1d93bf1700519e7aff76c
|
@ -37,7 +37,7 @@ PosixSignalWatcherPrivate::PosixSignalWatcherPrivate( PosixSignalWatcher* q ) :
|
|||||||
Q_Q( PosixSignalWatcher );
|
Q_Q( PosixSignalWatcher );
|
||||||
|
|
||||||
int signal = 0;
|
int signal = 0;
|
||||||
(void)::read( sockfd, &signal, sizeof( signal ) );
|
(void)!::read( sockfd, &signal, sizeof( signal ) );
|
||||||
qDebug() << "Caught signal: " << ::strsignal( signal );
|
qDebug() << "Caught signal: " << ::strsignal( signal );
|
||||||
Q_EMIT q->posixSignal( signal );
|
Q_EMIT q->posixSignal( signal );
|
||||||
} );
|
} );
|
||||||
@ -85,7 +85,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal )
|
|||||||
*/
|
*/
|
||||||
MYXLIB_INLINE void PosixSignalWatcherPrivate::signalHandler( int signal )
|
MYXLIB_INLINE void PosixSignalWatcherPrivate::signalHandler( int signal )
|
||||||
{
|
{
|
||||||
(void)::write( mSockpair[0], &signal, sizeof( signal ) );
|
(void)!::write( mSockpair[0], &signal, sizeof( signal ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user