mirror of
https://github.com/apache/nuttx.git
synced 2026-08-16 09:53:23 +00:00
Can't call sdbg() from a signal handler; And another name to nuttx-names.dat
This commit is contained in:
parent
3508e22f3f
commit
08e2fc0be8
2 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue