Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
NoBarrier_Store() not implemented
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andre Pinho  
View profile  
 More options Jun 8 2012, 6:18 am
From: Andre Pinho <andre87pi...@gmail.com>
Date: Fri, 8 Jun 2012 03:18:48 -0700 (PDT)
Local: Fri, Jun 8 2012 6:18 am
Subject: NoBarrier_Store() not implemented

Hi. I'm using Windows XP 32bit and I have created a simple test program
that creates 5 threads using pthreads that runs a loop inside each thread.
But, after creating those threads I get the following error:
64-bit NoBarrier-Store() not implemented on this platform.

This is the output that I get:
//threads creation
In main: creating thread 0
In main: creating thread 1
In main: creating thread 2
In main: creating thread 3
In main: creating thread 4

//those errors
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform
64-bit NoBarrier-Store() not implemented on this platform

Hello World! It's me, thread #2!

Does anyone know the problem and how to solve it?
Thanks in advance
André


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yaser Zhian  
View profile  
 More options Jun 9 2012, 4:20 am
From: Yaser Zhian <yase...@gmail.com>
Date: Sat, 09 Jun 2012 12:50:35 +0430
Local: Sat, Jun 9 2012 4:20 am
Subject: Re: NoBarrier_Store() not implemented

On 6/8/2012 14:48, Andre Pinho wrote:

Hi. I'm using Windows XP 32bit and I have created a simple test program that creates 5 threads using pthreads that runs a loop inside each thread. But, after creating those threads I get the following error:
64-bit NoBarrier-Store() not implemented on this platform.
...

What compiler and version are you using?

While I don't know the exact cause of your problem, I've experienced similar problems in other projects before. In my case, it happened because the headers for Microsoft Platform SDK that comes with Visual Studio assume that you have Windows Vista (or even 7, depending on your version) at runtime, and use functionality that is not available in XP. One of these functionality areas (that XP and Vista differ) are some  atomic operations (Interlocked* Win32 API.)

To fix that problem, I had to make sure some basic macros were defined to proper values before including any Windows headers, which usually means passing them to your compiler command line. Two of these macros are WINVER and _WIN32_WINNT, which you have to define to 0x0501 to make Windows headers use only those features that are available on Windows XP or later. Usually, only defining these two (or even the second one) is enough.

By the way, I don't think this arises from use of Mongoose (but I'm not sure.) It might be pthreads that internally uses Win32 API.

-yzt
-- 
May the Source be with you.

  signature.asc
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
André Pinho  
View profile  
 More options Jun 9 2012, 6:07 am
From: André Pinho <andre87pi...@gmail.com>
Date: Sat, 9 Jun 2012 11:07:00 +0100
Subject: Re: NoBarrier_Store() not implemented

I'm using Visual Studio 2005 on windows XP. I first tried without pthreads
and it worked fine. I thought maybe it was because of it. I can't try those
macros now, but I'll let you know as soon as I try them.
Thanks for the short time reply

Best regards
André

2012/6/9 Yaser Zhian <yase...@gmail.com>

--
Cumprimentos
André Pinho

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
André Pinho  
View profile  
 More options Jun 12 2012, 5:34 am
From: André Pinho <andre87pi...@gmail.com>
Date: Tue, 12 Jun 2012 10:34:08 +0100
Local: Tues, Jun 12 2012 5:34 am
Subject: Re: NoBarrier_Store() not implemented

Hello again. I tried those macros you told in last email, but I still get
the same results. I'm guessing that there is some issue while using
pthreads, because without them the allocator works fine. Unfortunately I
don't have the time I'd like to go into the code and find the problem. I
hope someone can find it and get some solution. Thanks for your time anyway

2012/6/9 André Pinho <andre87pi...@gmail.com>

--
Cumprimentos
André Pinho

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yzt  
View profile  
 More options Jun 12 2012, 12:47 pm
From: yzt <yase...@gmail.com>
Date: Tue, 12 Jun 2012 09:47:58 -0700 (PDT)
Local: Tues, Jun 12 2012 12:47 pm
Subject: Re: NoBarrier_Store() not implemented

On Tuesday, June 12, 2012 2:04:08 PM UTC+4:30, Andre Pinho wrote:

> Hello again. I tried those macros you told in last email, but I still get
> the same results. I'm guessing that there is some issue while using
> pthreads, because without them the allocator works fine. Unfortunately I
> don't have the time I'd like to go into the code and find the problem. I
> hope someone can find it and get some solution. Thanks for your time anyway

Did you recompile pthreads? If the problem is indeed in pthreads, then you
need to recompile that with the macros I mentioned. However, there is a
distinct chance that that is not your problem at all!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
c.par.vis  
View profile  
 More options Jul 24 2012, 11:41 am
From: "c.par.vis" <carlo.ri...@parvis.it>
Date: Tue, 24 Jul 2012 08:41:59 -0700 (PDT)
Local: Tues, Jul 24 2012 11:41 am
Subject: Re: NoBarrier_Store() not implemented

> I had the same problem but could solve it downloading the very last
> version of the library from here:

http://google-perftools.googlecode.com/svn/trunk/

(downloaded it yesterday). I recompiled it and I could use it in a C++
native solution. (Not in my managed unmanaged solution tought!)

DISCLAIMER:
maybe it could be risky to use the code directly from the trunk (not sure
about its bug-free quality) anyway I am new to this and some other can give
more insightful informations


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
c.par.vis  
View profile  
 More options Jul 24 2012, 12:09 pm
From: "c.par.vis" <carlo.ri...@parvis.it>
Date: Tue, 24 Jul 2012 09:09:12 -0700 (PDT)
Local: Tues, Jul 24 2012 12:09 pm
Subject: Re: NoBarrier_Store() not implemented

I am using Windows XP 32 bit and Visual Studio 2003


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Chappelle  
View profile  
 More options Jul 24 2012, 12:11 pm
From: David Chappelle <chapp...@gmail.com>
Date: Tue, 24 Jul 2012 12:11:44 -0400
Local: Tues, Jul 24 2012 12:11 pm
Subject: Re: NoBarrier_Store() not implemented

IIRC this may be something that I have patched on the main trunk.
Unfortunately I have been unable to get back to patch work for awhile so
the exact details escape me at the moment.

-Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »