|
Boost Users : |
From: Sliwa, Przemyslaw (London) (Przemyslaw_Sliwa_at_[hidden])
Date: 2005-04-18 11:37:32
The strange thing is -> works fine on a single processor Linux SUSE 9.1
but gives segmentation fault on a double processor machine with the same
OS.
I do not understand this.
Pshemek
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Ben Hutchings
Sent: 18 April 2005 17:04
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] RE: Boost thread problem
Sliwa, Przemyslaw (London) wrote:
> Wow, wow, wow,
>
> Guys, this was my private program. I simply did not have access to the
private email account from work.
> As you have probably seen the issue was not with the CFXTrade class
but rather with the vectro<T> one.
I very much doubt that there's a bug in the std::vector implementation
you're using. More likely CFXTrade doesn't meet the requirements for
vector element types (CopyConstructible and Assignable). But and queue
uses deque by default, and deque imposes the same requirements, so even
if your program works on your current compiler it could break if you use
any other compiler, or a different version, or even different options.
Of course, we can't really tell if you don't post the missing code.
Ben.
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net