nuttx/include
yintao 38af7001b6 drivers/rpmsg: fix the race condtion about rpmsg_device_created
xxx_rpmsg_device_created may be called repeatedly.

rptun thread				app thread

rptun_dev_start				xxx_rpmsg_init

...					rpmsg_register_callback
priv->...= rpmsg_ns_unbind;
priv->..= rptun_notify_wait;
					if (ns_unbind_cb)
(switch app thread)				device_created()
						xxx_rpmsg_device_created

					metal_list_add_tail(g_cb);
...
rpmsg_device_created();
	cb->device_created
	xxx_rpmsg_device_created;

Signed-off-by: yintao <yintao@xiaomi.com>
2024-09-14 17:34:52 +08:00
..
android
arpa
crypto nuttx/crypto: export Diffie-Hellman algorithm 2024-09-09 23:55:33 +08:00
cxx add rint and expm1 function to cmath from libm 2024-07-12 12:05:54 +08:00
net netlib/route: add length for add/del route-func to reduce caller stack usage 2024-08-26 01:54:10 +08:00
netinet Expose IPTOS_xxx to the application layer 2024-09-12 17:15:31 +08:00
netpacket can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
nuttx drivers/rpmsg: fix the race condtion about rpmsg_device_created 2024-09-14 17:34:52 +08:00
ssp
sys sys/mman: Add dummy implementations of shm_open and shm_unlink 2024-09-13 16:08:25 +08:00
.gitignore
aio.h
alloca.h
assert.h Restore ASSERT/VERIFY semantics 2024-09-09 15:25:04 +08:00
byteswap.h
ctype.h
debug.h coresight: add coresight_core 2024-09-13 09:09:19 +08:00
dirent.h
dlfcn.h dlfcn: Add stub for dladdr 2024-07-26 14:39:10 -03:00
dsp.h nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
dspb16.h
elf32.h
elf64.h
elf.h coredump:support coredump aligned access registers 2024-08-12 02:02:25 +08:00
endian.h
err.h
errno.h
execinfo.h libc/execinfo: extract a common backtrace format function 2024-06-29 22:44:39 +08:00
fcntl.h drivers/pipes: add fcntl(F_SETPIPE_SZ/F_GETPIPE_SZ) support 2024-09-10 11:35:15 +08:00
fixedmath.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
hex2bin.h
iconv.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h
locale.h
lzf.h
malloc.h
mqueue.h
netdb.h
nl_types.h
nxflat.h
obstack.h
poll.h
pthread.h sched/pthread: Add dummy pthread_setaffinity_np 2024-09-13 16:08:25 +08:00
pty.h
pwd.h
regex.h
resolv.h
sched.h sched.h: add SCHED_BATCH and SCHED_IDLE definition 2024-07-14 13:20:53 -03:00
search.h hcreate: add alloc/free func hook for user to deallocate memory 2024-08-22 20:25:30 +08:00
semaphore.h semaphore: export priority ceiling interfaces in semaphore 2024-09-10 01:26:31 +08:00
signal.h
spawn.h
stdbool.h nuttx/atomic.h:Fix missing type declarations at compile time 2024-08-22 01:44:29 +08:00
stddef.h
stdint.h
stdio.h
stdlib.h
stdnoreturn.h
string.h
strings.h nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
syscall.h
syslog.h
termios.h
threads.h
time.h libc:Add macro restrictions to code that uses floating point numbers 2024-08-21 13:33:45 +08:00
unistd.h libc/sysconf: add _SC_GETPW_R_SIZE_MAX 2024-08-29 09:05:45 +08:00
utime.h
uuid.h nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
wchar.h include/wchar:Fix mbstate_t Redeclaration in MSVC 2024-08-22 01:44:29 +08:00
wctype.h