sched/signal and related changes to other OS subsystems.

This commit is contained in:
Xiang Xiao
2019-01-27 09:28:59 -06:00
committed by Gregory Nutt
parent d105dc9b5e
commit fb63c0a293
34 changed files with 212 additions and 225 deletions
+2 -1
View File
@@ -122,6 +122,7 @@ struct mac802154_chardevice_s
bool md_notify_registered;
pid_t md_notify_pid;
struct sigevent md_notify_event;
struct sigwork_s md_notify_work;
#endif
};
@@ -768,7 +769,7 @@ static int mac802154dev_notify(FAR struct mac802154_maccb_s *maccb,
{
dev->md_notify_event.sigev_value.sival_int = primitive->type;
nxsig_notification(dev->md_notify_pid, &dev->md_notify_event,
SI_QUEUE);
SI_QUEUE, &dev->md_notify_work);
}
#endif
+2 -1
View File
@@ -165,6 +165,7 @@ struct macnet_driver_s
bool md_notify_registered;
pid_t md_notify_pid;
struct sigevent md_notify_event;
struct sigwork_s md_notify_work;
#endif
};
@@ -446,7 +447,7 @@ static int macnet_notify(FAR struct mac802154_maccb_s *maccb,
{
priv->md_notify_event.sigev_value.sival_int = primitive->type;
nxsig_notification(priv->md_notify_pid, &priv->md_notify_event,
SI_QUEUE);
SI_QUEUE, &priv->md_notify_work);
}
#endif