Re: GThread cancellation
- From: "Andres Salomon" <dilinger voxel net>
- To: <seppi seppi de>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: GThread cancellation
- Date: Wed, 12 Feb 2003 04:26:48 -0500 (EST)
It seems to be a necessary evil when dealing with functions that have the
potentional to block indefinitely (libc, xlib, etc).
> Hi Andres,
>
>> Is there any particular reason why GThread doesn't have anything
>> similar to pthread's pthread_cancel(), other than the difficulty of
>> implementing such a beast?
>
> I personally think, that thread cancellation is quite a bad idea. While
> I'm not completely against it in GLib, I'm sure including it makes a
> portable thread abstraction much harder with (in my mind) minimal gain.
>
> Bye,
> Sebastian
> --
> Sebastian Wilhelmi | här ovanför alla molnen
> mailto:seppi seppi de | är himmlen så förunderligt blå
> http://seppi.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]