Date: Sun, 16 Jul 2023 20:41:15 -0700
On Saturday, 15 July 2023 06:27:04 PDT Yuri Petrenko via Std-Proposals wrote:
> It's great that Linux already has something to rely on, but there is a
> subtle difference. In the case you mentioned, as far as I understand,
> pthread_cancel will ask the thread to cancel, and this will be possible
> only when we reach the Cancelation point
No. Did you read up on the functions I pointed out? Did you reach
pthread_setcanceltype?
Please read up on PTHREAD_CANCEL_ASYNCHRONOUS and then re-post with your
analysis on whether that meets your needs or not.
> It's great that Linux already has something to rely on, but there is a
> subtle difference. In the case you mentioned, as far as I understand,
> pthread_cancel will ask the thread to cancel, and this will be possible
> only when we reach the Cancelation point
No. Did you read up on the functions I pointed out? Did you reach
pthread_setcanceltype?
Please read up on PTHREAD_CANCEL_ASYNCHRONOUS and then re-post with your
analysis on whether that meets your needs or not.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2023-07-17 03:41:18