Files
nuttx/drivers
YAMAMOTO Takashi f2aeb5e56f SYSLOG_DEFAULT: wrap up_putc/up_nputs calls with critical section
This would avoid the undesirable intertactions with the serial driver
described in https://github.com/apache/nuttx/issues/14662.

Although I'm not entirely happy with this fix because it assumes
the particular implementations of up_putc/up_nputc and its association
to the serial devices, I haven't come up with better ideas for now.

An alternative is to place some serializations inside the target
specific serial (and/or whatever provides up_putc api) implementaitons.
But it isn't too attractive to put potentially complex logic into the
low-level machinaries, especially when we have a lot of similar copies
of it.

Another alternative is to deprecate up_putc. (at least for the purpose
of syslog.) But it seems at least some of users are relying on what
the current implementation provides heavily.

This commit also removes g_lowputs_lock because the critical section
would serve the purpose of the lock as well.
2024-11-12 09:49:57 +08:00
..
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 19:46:13 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-11-06 18:02:25 +08:00
2024-10-16 13:57:23 +08:00
2024-11-06 18:02:25 +08:00