Opened 16 years ago

Closed 16 years ago

#769 closed Bugs (None)

Threads not working in parallel

Reported by: nobody Owned by: Roland Schwarz
Milestone: Component: threads
Version: None Severity:
Keywords: Cc:

Description

We have created an application that uses boost::thread
to create threads - a simple producer-consumer. The
problem is that on an windows XP/intel processor, the
threads do not appear to work in parallel (they work
fine on an AMD, also on Windows XP). More specifically,
the producer thread simply produces in buffer until it
exhausts all resources, and the consumer thread does
not 'kick in', even if the producer calls 'yield' after
each item "produced". 
Any hints on how to avoid this?

Change History (2)

comment:1 by Roland Schwarz, 16 years ago

Logged In: YES 
user_id=541730

Can you please provide, a small code snippet that
demonstrates the observed behaviour?

comment:2 by Roland Schwarz, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=541730
Originator: NO

The original poster did not supply further information to track down the reported problem. Issue will be reopened if required.
Note: See TracTickets for help on using tickets.