[Asterisk-Dev] thread-safe and reentrant functions
Gene Kochanowsky
gene at solutionsciences.com
Wed Aug 27 10:27:37 MST 2003
Threading has nothing to do with C++, but creating thread base classes for creating threaded classes and objects is much easier and cleaner to accomplish in C++ than in C. If you code in C++ but do not have a clue about object oriented design then I can understand why you would think it was inferior to C. To create fully object oriented program in C++ requires that you think about coding in an entirely different way. I have seen my share of C programmers that don't get it trying to write C++ programs and it would be best for them to stick with C. If that is the case for Asterisk programmers then forget I brought it up.
Gene
-----Original Message-----
From: Jared Mauch [mailto:jared at puck.Nether.net]
Sent: Wednesday, August 27, 2003 1:09 PM
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] thread-safe and reentrant functions
On Wed, Aug 27, 2003 at 12:37:26PM -0400, Gene Kochanowsky wrote:
> Good old fashion C code was fine for its time, and don't get me wrong, I have written my fair share of it, but if you want to create something that is engineered (built on purpose), C++ is the way to go. Once you understand object oriented analysis and design you will not go back to C unless there are no alternatives.
I guess if you want to deal with even more unportable code.
I've found C++ not be portable at all between *nix
platforms.
threads are the way to do it "right", imho.
>
> Gene
>
> -----Original Message-----
> From: James Sharp [mailto:jsharp at psychoses.org]
> Sent: Wednesday, August 27, 2003 12:27 PM
> To: asterisk-dev at lists.digium.com
> Subject: RE: [Asterisk-Dev] thread-safe and reentrant functions
>
>
> > As long as people are making requests regarding the Asterisk code base, I would like to see asterisk converted to an object oriented application.
> >
>
> Ugh. Why?
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
--
Jared Mauch | pgp key available via finger from jared at puck.nether.net
clue++; | http://puck.nether.net/~jared/ My statements are only mine.
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list