From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: =?utf-8?q?Re=3A_rt=5Ftask=5Funblock=28=29_POSIX_alternative?= Date: Tue, 14 Apr 2020 12:39:50 +0200 From: =?utf-8?q?Petr_=c4=8cervenka?= References: <20200407154117.5D7D71C2@centrum.cz>, , <20200407171816.E0B3979D@centrum.cz>, , <20200408114406.6119E0D9@centrum.cz>, , <20200409170009.5B0DAA77@centrum.cz>, , <20200409201057.74CB5ED0@centrum.cz>, , <20200414101600.F9AA555D@centrum.cz>, , <20200414111059.39716137@centrum.cz>, <6b8c89d1-bae0-90f5-4935-925fb0af2137@siemens.com> In-Reply-To: <6b8c89d1-bae0-90f5-4935-925fb0af2137@siemens.com> MIME-Version: 1.0 Message-Id: <20200414123950.7969BF83@centrum.cz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?q?Jan_Kiszka?= , =?utf-8?q?Richard_Weinberger?= Cc: Xenomai >=C2=A0 =C2=A0 err =3D __STD(pthread_kill)(task, SIGUSR1); >=C2=A0 =C2=A0 if (err !=3D 0) { > =C2=A0 =C2=A0 =C2=A0=C2=A0 printf("pthread_kill failed: %d (%s)\n", err, = strerror(-err)); >=C2=A0 =C2=A0 } Thank you Jan. This is what I needed. You have alredy mentioned it in the = past. But I just used the pthread_kill() and somehow totally missed the __S= TD() thing. Petr