Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » PROPOSAL: Monitor mutex in objects
Re: PROPOSAL: Monitor mutex in objects [message #27387 is a reply to message #27378] Thu, 15 July 2010 14:11 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
here comes package on how i thought of it...
short description:

first section uses 2 Threads, operating on same String, using INTERLOCKED, which doesnt work, because it creates internal static Mutex,

second secton uses a helper construction, LOCKED, which uses a LOCKER placed Mutex instance in class to protect things, this could be done explicitly by placing a Mutex in class, and using Mutex::Lock(instance) scoped helper as well.

third section uses a Single() Mutex map, to protect arbitrary objects from 'outside' as i understood it from C#

maybe its helpfull..
  • Attachment: SigMon.rar
    (Size: 1.93KB, Downloaded 344 times)

[Updated on: Thu, 15 July 2010 14:12]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stop Download
Next Topic: Problem when compiling multiple threads
Goto Forum:
  


Current Time: Tue Aug 26 18:56:27 CEST 2025

Total time taken to generate the page: 0.05376 seconds