<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Project Serial Port Programming in C++</title><link>https://sourceforge.net/p/libserial/</link><description>Recent changes to Project Serial Port Programming in C++</description><atom:link href="https://sourceforge.net/p/libserial/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 12 May 2016 21:39:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libserial/feed.rss" rel="self" type="application/rss+xml"/><item><title>#13 Issue while using  in a process with multiple threads</title><link>https://sourceforge.net/p/libserial/bugs/13/?limit=25#86f7</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 12 May 2016 21:39:19 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ac3ef5b2b1e365e1acfcb90e975b3116fca0b78</guid></item><item><title>#13 Issue while using  in a process with multiple threads</title><link>https://sourceforge.net/p/libserial/bugs/13/?limit=25#4efd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Moved to &lt;a href="https://github.com/crayzeewulf/libserial/issues/51." rel="nofollow"&gt;https://github.com/crayzeewulf/libserial/issues/51.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 12 May 2016 21:38:46 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net898f652aef0a2127359a0233c9812701420a0dd5</guid></item><item><title>#4 Invalid Syntax Error</title><link>https://sourceforge.net/p/libserial/support-requests/4/?limit=25#e565</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 12 May 2016 21:37:09 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf200e6d9e8ba22d68ca336f3be9a4091265e7773</guid></item><item><title>#4 Invalid Syntax Error</title><link>https://sourceforge.net/p/libserial/support-requests/4/?limit=25#6ae8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Moved to &lt;a href="https://github.com/crayzeewulf/libserial/issues/51" rel="nofollow"&gt;https://github.com/crayzeewulf/libserial/issues/51&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Thu, 12 May 2016 21:36:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netac32e065e624b0ef5ed8ea802e53d1f9b8477368</guid></item><item><title>#7 Bug in use of STL queue with asynchronous signals</title><link>https://sourceforge.net/p/libserial/bugs/7/?limit=25#f103</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Dear CrayzeeWulf, the problem in 0.6.0rc2 is that shadow buffer can't be pushed into actual buffer if no another data received from the serial port (i.e. if no SIGIO is triggered) and if the reader waits the data in the shadow buffer, the reader can't read it. Also, I found another bug today. There is no mutex protection in PosixSignalDispatcherImpl singeleton class.For example, if 2 instances try to attach their handler, only one could be insert its handler to the signal handler list. Thus, sigaction handler only calls that handler. The problem occurs when libSerial is used for more than 1 serial interface. I added a mutex protection like the bug mentioned in this bug report.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serdar Eke</dc:creator><pubDate>Tue, 19 Apr 2016 21:01:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf6a846dfdd830e988f46983ad8b4be19db6f3b4d</guid></item><item><title>#7 Bug in use of STL queue with asynchronous signals</title><link>https://sourceforge.net/p/libserial/bugs/7/?limit=25#c568</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The solution in 0.6.0rc2 is buggy. When there is no continous data flow, the data in shadow buffer can not be pushed into actual input buffer and if the reader waits that data before sending new data, isDataAvailable returns false and the reader is blocked. I have been just patched the code. I want to test it for a while.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Serdar Eke</dc:creator><pubDate>Mon, 18 Apr 2016 01:49:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb7c597250296e3226e24eb6c0c614b91e25fa1d8</guid></item><item><title>SIGIO Handler Reentrant?</title><link>https://sourceforge.net/p/libserial/discussion/29398/thread/d6a01c7f/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was reviewing your code and I am wondering if the SIGIO hander. According to SUSv3:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;"whose effect, when called by two or more threads, is guaranteed to be as if the threads each executed the function one after another in an undefined order, even if the actual execution is interleaved"&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It seems that the SIGIO handler writes to shared std::vectors and is only expecting at most one SIGIO call at a time where:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Writing to shared mInputBuffer if there the mutex is not locked&lt;/li&gt;
&lt;li&gt;Wriring to shared shadowInputBuffer if the mutex is locked&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Data will not be avaliable to read if the last shadowInputBuffer was written and no subsequent SIGIO is delivered.&lt;/p&gt;
&lt;p&gt;----------reading mInputBuffer-----------&amp;gt;&lt;br/&gt;
----------incoming data written to shadowInputBuffer----------&amp;gt;&lt;br/&gt;
Since SIGIO only occurs if data from the device can be read, it is possible to leave data in the shadowInputBuffer leaving mInputBuffer empty.&lt;/p&gt;
&lt;p&gt;Let me know if this makes sense.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ludvik Jerabek</dc:creator><pubDate>Tue, 19 Jan 2016 19:50:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net75d311272d17ce970bc6c5d75ab56c3006aaf91e</guid></item><item><title>Home modified by Crayzee Wulf</title><link>https://sourceforge.net/p/libserial/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,3 @@
-Welcome to your wiki!
+This project has been moved to GitHub. See:

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/libserial/wiki/markdown_syntax/) syntax.
-
-[[members limit=20]]
-[[download_button]]
+https://github.com/crayzeewulf/libserial/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Wed, 03 Jun 2015 21:33:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd0b2809b57e6ed86fd3cfdbdb18de248dd8fa392</guid></item><item><title>LibSerial source code moved to GitHub</title><link>https://sourceforge.net/p/libserial/news/2015/06/libserial-source-code-moved-to-github/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The source code for libserial has been moved to GitHub. Please use the following link to find the latest version of the source code:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/crayzeewulf/libserial" rel="nofollow"&gt;https://github.com/crayzeewulf/libserial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The rest of this project will be moved to GitHub shortly. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Wed, 03 Jun 2015 19:32:52 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3c015a97710b6c7ed2000493ea61b86c116c54ab</guid></item><item><title>LibSerial Moving to GitHub</title><link>https://sourceforge.net/p/libserial/news/2015/04/libserial-moving-to-github/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;LibSerial will be moving to GitHub on May 10, 2015!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Crayzee Wulf</dc:creator><pubDate>Mon, 20 Apr 2015 19:15:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8681c969b3f6ff4e3e026fddc57cec0f87247880</guid></item></channel></rss>