mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Can't call sdbg() from a signal handler; And another name to nuttx-names.dat
This commit is contained in:
@@ -47,6 +47,7 @@ recv NXrecv
|
||||
recvfrom NXrecvfrom
|
||||
rewinddir NXrewinddir
|
||||
rmdir NXrmdir
|
||||
sched_yield NXsched_yield
|
||||
seekdir NXseekdir
|
||||
select NXselect
|
||||
sem_init NXsem_init
|
||||
|
||||
@@ -75,8 +75,6 @@ void sim_cpu_pause(int cpu, volatile spinlock_t *wait,
|
||||
{
|
||||
struct tcb_s *rtcb = current_task(cpu);
|
||||
|
||||
sdbg("CPU%d: Blocking TCB=%p\n", cpu, rtcb);
|
||||
|
||||
/* Update scheduler parameters */
|
||||
|
||||
sched_suspend_scheduler(rtcb);
|
||||
@@ -106,7 +104,6 @@ void sim_cpu_pause(int cpu, volatile spinlock_t *wait,
|
||||
*/
|
||||
|
||||
rtcb = current_task(cpu);
|
||||
sdbg("CPU%d: New Active Task TCB=%p\n", cpu, rtcb);
|
||||
|
||||
/* The way that we handle signals in the simulation is kind of a
|
||||
* kludge. This would be unsafe in a truly multi-threaded,
|
||||
|
||||
Reference in New Issue
Block a user