<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Teal under win32 and pthreads library</title>
	<atom:link href="http://www.trusster.com/verification/teal-under-win32-and-pthreads-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trusster.com/verification/teal-under-win32-and-pthreads-library/</link>
	<description>...verify everything...</description>
	<lastBuildDate>Mon, 14 Sep 2009 19:35:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mike</title>
		<link>http://www.trusster.com/verification/teal-under-win32-and-pthreads-library/comment-page-/#comment-106</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-106</guid>
		<description>Hi Shaohao,

Very Cool! I will make the change.

Did you create a project or use the bat files in the test area?

I have had teal on windows in the past. I just don&#039;t have the bandwidth to keep up. Would you be willing to test a new release on Teal on windows? I plan to release once every three months or so.

Yes, I did have a portable mutex class in some previous revs of teal. It&#039;s actually really a better way. Please feel free to modify teal to have such a concept and I will merge the changes into the mainline. The class interface can be simple:

class teal_mutex_internal {
public:
  teal_mutext_internal () : acquired_ (false) {}
  virtual ~teal_mutex_internal () {};

  void acquire () {assert (!acquired); acquire_ (); acquired_ = true}
  void release () {assert (acquired); release_ (); acquired_ = false}

protected:
  virtual void acquire_ () = 0;
  virtual void release_ () = 0;

private:
  teal_mutex_internal (const teal_mutex_internal&amp;);
  void operator= (const teal_mutex_internal&amp;);
}

Take care,
Mike</description>
		<content:encoded><![CDATA[<p>Hi Shaohao,</p>
<p>Very Cool! I will make the change.</p>
<p>Did you create a project or use the bat files in the test area?</p>
<p>I have had teal on windows in the past. I just don&#8217;t have the bandwidth to keep up. Would you be willing to test a new release on Teal on windows? I plan to release once every three months or so.</p>
<p>Yes, I did have a portable mutex class in some previous revs of teal. It&#8217;s actually really a better way. Please feel free to modify teal to have such a concept and I will merge the changes into the mainline. The class interface can be simple:</p>
<p>class teal_mutex_internal {<br />
public:<br />
  teal_mutext_internal () : acquired_ (false) {}<br />
  virtual ~teal_mutex_internal () {};</p>
<p>  void acquire () {assert (!acquired); acquire_ (); acquired_ = true}<br />
  void release () {assert (acquired); release_ (); acquired_ = false}</p>
<p>protected:<br />
  virtual void acquire_ () = 0;<br />
  virtual void release_ () = 0;</p>
<p>private:<br />
  teal_mutex_internal (const teal_mutex_internal&#038;);<br />
  void operator= (const teal_mutex_internal&#038;);<br />
}</p>
<p>Take care,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guenter</title>
		<link>
