473,898 Members | 4,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Threading in new C++ standard

Rather than create a new way of doing things:
http://www.open-std.org/jtc1/sc22/wg...008/n2497.html
why not just pick up ACE into the existing standard:
http://www.cse.wustl.edu/~schmidt/ACE.html
the same way that the STL (and subsequently BOOST) have been subsumed?
Since it already runs on zillions of platforms, they have obviously worked
most of the kinks out of the generalized threading and processes idea (along
with many other useful abstractions).

Even more interesting than generalized threading would be generalized
software transactions. The Intel compiler has an experimental version that
does this:
http://softwarecommunity.intel.com/a...s/eng/1460.htm

As we scale to larger and larger numbers of CPUs, the software transaction
model is the one that gains traction. This document is very illuminating in
that regard:
http://internap.dl.sourceforge.net/s..._submitted.pdf


** Posted from http://www.teranews.com **
Jun 27 '08
126 6786
On 2008-05-22 13:11:26 -0400, Szabolcs Ferenczi
<sz************ ***@gmail.comsa id:
On May 22, 7:05Â*pm, Pete Becker <p...@versatile coding.comwrote :
>On 2008-05-22 12:57:21 -0400, Szabolcs Ferenczi
<szabolcs.fere n...@gmail.coms aid:
>>Try to read it carefully, you might benefit from it. If you are
willing to learn, of course. Otherwise just keep trolling.

Now you're back to taking things out of context. I guess I was too optimis
tic.

If you are incapable to contribute to the professional issues, please
retain from trolling.
You snipped relevant context again. Sigh.

--
Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
(www.petebecker.com/tr1book)

Jun 27 '08 #121
On May 22, 8:52*pm, Pete Becker <p...@versatile coding.comwrote :
You snipped relevant context again. Sigh.
You must decide at last what you want. First your problem was that I
left there the part I have reflected. Now you claim I removed
something from your valuable troll.

I ask you again: Please stop trolling.

If you have some professional argument, then share it with us,
otherwise please stop trolling.

Best Regards,
Szabolcs
Jun 27 '08 #122
Szabolcs Ferenczi wrote:
On May 22, 6:49 pm, Pete Becker <p...@versatile coding.comwrote :
>Good for you! You've actually retained the words that you're responding
to, making it easy for anyone reading your message to see that you've
misrepresent ed what they say.

Try to read it carefully, you might benefit from it. If you are
willing to learn, of course. Otherwise just keep trolling.
You are aware that Pete is one of the more respected language gurus
around, and that he sits on the ISO Committee (I think)?
Jun 27 '08 #123
On May 23, 2:53*am, red floyd <no.s...@here.d udewrote:
Szabolcs Ferenczi wrote:
On May 22, 6:49 pm, Pete Becker <p...@versatile coding.comwrote :
Good for you! You've actually retained the words that you're responding
to, making it easy for anyone reading your message to see that you've
misrepresented what they say.
Try to read it carefully, you might benefit from it. If you are
willing to learn, of course. Otherwise just keep trolling.

You are aware that Pete is one of the more respected language gurus
around, and that he sits on the ISO Committee (I think)?
Sure. Does it entitle him to stuck up?

No matter what he thinks about himself, he should consider the ancient
saying: Hic Rhodus hic salta---which very well applies to him here.

Also see the fable here:
http://groups.google.com/group/comp....b988ca79770d11

So simple is it.

Best Regards,
Szabolcs
Jun 27 '08 #124
On May 23, 2:53 am, red floyd <no.s...@here.d udewrote:
Szabolcs Ferenczi wrote:
On May 22, 6:49 pm, Pete Becker <p...@versatile coding.comwrote :
Good for you! You've actually retained the words that
you're responding to, making it easy for anyone reading
your message to see that you've misrepresented what they
say.
Try to read it carefully, you might benefit from it. If you
are willing to learn, of course. Otherwise just keep
trolling.
You are aware that Pete is one of the more respected language
gurus around, and that he sits on the ISO Committee (I think)?
He's the project editor, which means that he's the person who
actually writes the final wording of the standard (or integrates
the wording into the standard).

In other postings (threads, groups), Szabolcs has also treated
Hans Boehm and David Butenhof as idiots, so Pete's in good
company. According to Szabolcs, Szabolcs is the only expert,
and all of the recognized experts are idiots, because they don't
bow down to him.

--
James Kanze (GABI Software) email:ja******* **@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientier ter Datenverarbeitu ng
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Jun 27 '08 #125
On May 23, 10:35*am, James Kanze <james.ka...@gm ail.comwrote:
In other postings (threads, groups), Szabolcs has also treated
Hans Boehm and David Butenhof as idiots, so Pete's in good
company. *
That is a clear lie.

You cannot prove it as well as you cannot do your homework because you
have lied about your `professional work' too.

The truth is that I could carry on some good level professional
conversations here with Hans Boehm, and on the other hand, Butenhof
really showed great arrogance and enormous hybris in other discussion
threads.

Please stop telling lies even if you are notorious in it.

Thanks for your efforts,
Szabolcs
Jun 27 '08 #126
Szabolcs Ferenczi wrote:
On May 23, 10:35 am, James Kanze <james.ka...@gm ail.comwrote:
>In other postings (threads, groups), Szabolcs has also treated
Hans Boehm and David Butenhof as idiots, so Pete's in good
company.

That is a clear lie.

You cannot prove it as well as you cannot do your homework because you
have lied about your `professional work' too.

The truth is that I could carry on some good level professional
conversations here with Hans Boehm, and on the other hand, Butenhof
really showed great arrogance and enormous hybris in other discussion
threads.

Please stop telling lies even if you are notorious in it.

*PLONK*
Jun 27 '08 #127

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
6607
by: Jorge Godoy | last post by:
Hi! I must have been searching in the wrong places or with the wrong keywords but I couldn't find out how to implement something such as what is done by the threading module on Windows (95, 98 and XP are the ones used by my clients). My preference is for something available in the standard library if possible. I have a simple task where I want my GUI to be able to open several
17
2455
by: Andrae Muys | last post by:
Found myself needing serialised access to a shared generator from multiple threads. Came up with the following def serialise(gen): lock = threading.Lock() while 1: lock.acquire() try: next = gen.next() finally:
4
4929
by: Joe Wong | last post by:
Hi, Is there any way to increase/decrease a thread priority in Python? Best regards, -- Wong
77
5402
by: Jon Skeet [C# MVP] | last post by:
Please excuse the cross-post - I'm pretty sure I've had interest in the article on all the groups this is posted to. I've finally managed to finish my article on multi-threading - at least for the moment. I'd be *very* grateful if people with any interest in multi-threading would read it (even just bits of it - it's somewhat long to go through the whole thing!) to check for accuracy, effectiveness of examples, etc. Feel free to mail...
5
1973
by: Roshan | last post by:
This is regarding the article titled "C++ & Double-Checked Locking" by Scott Meyers and Andrei in DDJ July 2004 issue. I think the reasoning in this article is fundamentally flawed due the authors mixing up a couple of concepts (observable behavior & side effects) that are defined separately in the standard. Background: In the following statement... class Singelton {
4
1268
by: Lionel van den Berg | last post by:
Hi all, I'm just wondering what's the best option for threading in C++? I've used pthreads and forking in C (the latter is not appropriate for my situation now). All I want to do is run a function in a new thread, it's a simple task, no interaction with other threads etc. so I don't have to worry about deadlock, starvation and so on. Thanks,
2
3275
by: Juuso Hukkanen | last post by:
I need a list of multithreading unsafe C (C99) functions/features. comp.programming.threads provided an initial list of C:ish functions, with following ANSI C functions: asctime, gmtime, localtime, ctime, tmpnam, strtok http://www.lambdacs.com/cpt/FAQ.html#Q150 However, extra Googling hinted rand() and srand(), also being unsuitable for multi-threading - opinions? And what is the status of
9
1870
by: cgwalters | last post by:
Hi, I've recently been working on an application which does quite a bit of searching through large data structures and string matching, and I was thinking that it would help to put some of this CPU-intensive work in another thread, but of course this won't work because of Python's GIL. There's a lot of past discussion on this, and I want to bring it up again because with the work on Python 3000, I think it is worth trying
1
4403
by: Seun Osewa | last post by:
Hello, I've tried to run several threading examples in Python 2.5.1 (with Stackless) For example: import threading theVar = 1 class MyThread ( threading.Thread ):
0
9993
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9842
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11265
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10487
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8036
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7191
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4708
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3308
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.