On Fri, 9 Apr 2021 at 16:12, Thomas Munro <thomas.mu...@gmail.com> wrote:
> From your description it sounds like signals are not arriving at all,
> rather than some more complicated race.  Let's go back to basics...
> what does the attached program print for you?  I see:
>
> tmunro@x1:~/junk$ cc test-signalfd.c
> tmunro@x1:~/junk$ ./a.out
> blocking SIGURG...
> creating a signalfd to receive SIGURG...
> creating an epoll set...
> adding signalfd to epoll set...
> polling the epoll set... 0
> sending a signal...
> polling the epoll set... 1


I get pretty much the same. Some additional info below, although not sure
if it'd be of any help here.

robins@WSLv1:~/proj/hackers$ cc test-signalfd.c

robins@WSLv1:~/proj/hackers$ ./a.out
blocking SIGURG...
creating a signalfd to receive SIGURG...
creating an epoll set...
adding signalfd to epoll set...
polling the epoll set... 0
sending a signal...
polling the epoll set... 1

robins@WSLv1:~/proj/hackers$ cat /proc/cpuinfo | egrep 'flags|model' | sort
-u
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3
fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt
tsc_deadline_timer aes xsave osxsave avx f16c rdrand lahf_lm abm
3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm
mpx rdseed adx smap clflushopt intel_pt ibrs ibpb stibp ssbd
model           : 142
model name      : Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz

robins@WSLv1:~/proj/hackers$ uname -a
Linux WSLv1 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST
2020 x86_64 x86_64 x86_64 GNU/Linux

C:>wsl -l -v
  NAME            STATE           VERSION
* Ubuntu-18.04    Running         1

-
robins

Reply via email to