Skip to contentSkip to conversation

Jan Kiszka : Avoid false error reports of xeno_handle_mlock_alert

Xenomai-core Gilles Chanteperdrix 1 participant 1 message Feb 26, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · GIT version control
Module: xenomai-jki
Branch: for-upstream
Commit: b7940ae7699b5a371d538d1a8e22be07c3d36bf7
URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b7940ae7699b5a371d538d1a8e22be07c3d36bf7
Author: Jan Kiszka <[email protected]>
Date:   Thu Feb 25 23:33:46 2010 +0100
Quoted 7 lines

Avoid false error reports of xeno_handle_mlock_alert

We already propagate the SIGDEBUG reason to user space. Use it to tell SIGDEBUG_NOMLOCK apart from other triggers of this signal, e.g. the watchdog. This also allows to drop xeno_sigxcpu_no_mlock.

That is not really enough. Since a user may want to register is own handler, we have to handle that case as we do for sigwinch. In the process, we can also give the exported function a better name based on sigdebug.

Ok. Will take care of that.

Signature · 1 line
					    Gilles.