Let me state for the record that I do not use volatiles for thread
synchronization. But the issue at hand is not whether a volatile
can be used for full-featured thread synchronization, but whether
it can be used by one thread to signal a second looping thread to
quit.
It can.
Den 23-10-2012 22:28, d3fault skrev:
On 10/22/12, Bo Thorsen b...@fioniasoftware.dk wrote:
Now I'm getting annoyed. You're the one spreading misinformation here. I
mentioned the pure computation as one of the cases where I prefer
subclassing. But that of course doesn't mean you can't do it in
On Oct 24, 2012, at 8:40 AM, Thiago Macieira thiago.macie...@intel.com wrote:
On quarta-feira, 24 de outubro de 2012 05.38.03, Joseph W Joshua wrote:
Hello all,
I am writing an application for our company, and at one point I need to get
the hostname of a computer on the network given the
Hello,
I'm trying to port my application to Qt5. It's fine on my desktop machine
but fails on Beagleboard. I made a simplest application to test and the
result is same. My environment is:
1. Qt 5.0 beta1
2. Beagleboard-xM
And the simplest application code is :
#include QApplication
#include
On 10/23/12, Alan Ezust alan.ez...@gmail.com wrote:
http://www.ics.com/designpatterns is one place where you can see the book's
contents and download the code examples. It requires you to register/login
but it's free.
Which example are you referring to? Life or PrimeThreads? I read the
whole
Hi,
thanks a lot Thiago for expanding on this, especially on those areas I didn't
have good knowledge about. I especially didn't know that all loads and stores
on x86 are fully ordered, reading something about a store buffer made me
believe otherwise.
Quite interesting topic, this.
Thanks,
Hi,
First of all: thanks for all the insights that many of you'all here have
shared in this interesting matter. I really learned something here.
Op 24-10-2012 2:19, Thiago Macieira schreef:
Also note that you should not implement a busy-wait loop like that,
like a spinlock. At least on x86,
2012/10/24 Daniel Bowen qtmailingli...@bowensite.com:
...
I'm also quite interested in this topic. There are a handful of places where
I've used a similar pattern
...
bool A::stopAndWait(unsigned long timeoutMs)
{
m_stop = true;
m_waitCondition.wakeAll();
return
Is it possible to implement autosave in Qt/mac applications as was introduced
in OSX Lion (and refined in Mountain Lion)? Has anyone done this?
This email is confidential. It may also be privileged or otherwise protected by
work product immunity or other legal
On terça-feira, 23 de outubro de 2012 17.19.13, Thiago Macieira wrote:
Well, that's not exactly how processors work. CPU A will eventually get to
write the data from its cache back to main RAM. And CPU B will eventually
get to notice that and discard its cache. So the code running on CPU B
On Wed, Oct 24, 2012 at 1:08 AM, d3fault d3faultdot...@gmail.com wrote:
On 10/23/12, Alan Ezust alan.ez...@gmail.com wrote:
http://www.ics.com/designpatterns is one place where you can see the
book's
contents and download the code examples. It requires you to
register/login
but it's
Hi Daniel!
On Wed, Oct 24, 2012 at 2:08 AM, Daniel Bowen
qtmailingli...@bowensite.com wrote:
Let me state for the record that I do not use volatiles for thread
synchronization. But the issue at hand is not whether a volatile
can be used for full-featured thread synchronization, but whether
Hello Thiago!
I still don't follow exactly what you are saying.
On Wed, Oct 24, 2012 at 10:56 AM, Thiago Macieira
thiago.macie...@intel.com wrote:
On terça-feira, 23 de outubro de 2012 17.19.13, Thiago Macieira wrote:
Well, that's not exactly how processors work. CPU A will eventually get to
On quarta-feira, 24 de outubro de 2012 12.09.05, K. Frank wrote:
On Wed, Oct 24, 2012 at 10:56 AM, Thiago Macieira
thiago.macie...@intel.com wrote:
On terça-feira, 23 de outubro de 2012 17.19.13, Thiago Macieira wrote:
Well, that's not exactly how processors work. CPU A will eventually get
Time to split this thread. Since they took Hi, (our spot!), we'll
take Low, haha
On 10/24/12, Alan Ezust alan.ez...@gmail.com wrote:
There are LOTS of reasons why PrimeThreads is slower when it manages its
own threads and
creates mutexes. You listed some of them there, I listed others in my
Hello Thiago!
Thank you for following up.
On Wed, Oct 24, 2012 at 1:58 PM, Thiago Macieira
thiago.macie...@intel.com wrote:
On quarta-feira, 24 de outubro de 2012 12.09.05, K. Frank wrote:
On Wed, Oct 24, 2012 at 10:56 AM, Thiago Macieira
thiago.macie...@intel.com wrote:
On terça-feira, 23
Sure this is possible. Just start a timer and check if your document is
changed. If both are true, save your document….
Open Systems Development
Peter M. Groen
Em : pgr...@osdev.nl
http://www.osdev.nl
Skype : peter_m_groen
On 24 okt. 2012, at 16:29, Daniel Price daniel.pr...@fxhome.com wrote:
Thiago Macieira wrote:
I realised this because both ARM and IA-64 -- architectures with weak memory
ordering -- have no special instruction for this kind of activity. If all you
need is a flag signalling a condition, you'd use the standard ld1 / ld4
instruction on IA-64 or the ldrb / ldr
Hey guys. I'm having a lot of trouble compiling Qt5. Whether I try the packaged
qt-windows-opensource-5.0.0-beta1-x86-offline.exe source, or compiling from
git, I can never get a complete compile to finish, and they don't necessarily
fail at the same spot between the packaged beta and git.
For
On 25/10/12 00:29, Daniel Price wrote:
Is it possible to implement autosave in Qt/mac applications as was
introduced in OSX Lion (and refined in Mountain Lion)? Has anyone done
this?
I think what you want to know is: Does Qt provide an API that you can
use, which results in Lion's
20 matches
Mail list logo