<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to Project Serial Port Programming in C++</title><link href="https://sourceforge.net/p/libserial/" rel="alternate"/><link href="https://sourceforge.net/p/libserial/feed.atom" rel="self"/><id>https://sourceforge.net/p/libserial/</id><updated>2016-05-12T21:39:19.793000Z</updated><subtitle>Recent changes to Project Serial Port Programming in C++</subtitle><entry><title>#13 Issue while using  in a process with multiple threads</title><link href="https://sourceforge.net/p/libserial/bugs/13/?limit=25#86f7" rel="alternate"/><published>2016-05-12T21:39:19.793000Z</published><updated>2016-05-12T21:39:19.793000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.net0ac3ef5b2b1e365e1acfcb90e975b3116fca0b78</id><summary type="html">&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;</summary></entry><entry><title>#13 Issue while using  in a process with multiple threads</title><link href="https://sourceforge.net/p/libserial/bugs/13/?limit=25#4efd" rel="alternate"/><published>2016-05-12T21:38:46.803000Z</published><updated>2016-05-12T21:38:46.803000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.net898f652aef0a2127359a0233c9812701420a0dd5</id><summary type="html">&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;</summary></entry><entry><title>#4 Invalid Syntax Error</title><link href="https://sourceforge.net/p/libserial/support-requests/4/?limit=25#e565" rel="alternate"/><published>2016-05-12T21:37:09.648000Z</published><updated>2016-05-12T21:37:09.648000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.netf200e6d9e8ba22d68ca336f3be9a4091265e7773</id><summary type="html">&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;</summary></entry><entry><title>#4 Invalid Syntax Error</title><link href="https://sourceforge.net/p/libserial/support-requests/4/?limit=25#6ae8" rel="alternate"/><published>2016-05-12T21:36:25.431000Z</published><updated>2016-05-12T21:36:25.431000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.netac32e065e624b0ef5ed8ea802e53d1f9b8477368</id><summary type="html">&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;</summary></entry><entry><title>#7 Bug in use of STL queue with asynchronous signals</title><link href="https://sourceforge.net/p/libserial/bugs/7/?limit=25#f103" rel="alternate"/><published>2016-04-19T21:01:51.068000Z</published><updated>2016-04-19T21:01:51.068000Z</updated><author><name>Serdar Eke</name><uri>https://sourceforge.net/u/serdareke/</uri></author><id>https://sourceforge.netf6a846dfdd830e988f46983ad8b4be19db6f3b4d</id><summary type="html">&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;</summary></entry><entry><title>#7 Bug in use of STL queue with asynchronous signals</title><link href="https://sourceforge.net/p/libserial/bugs/7/?limit=25#c568" rel="alternate"/><published>2016-04-18T01:49:27.272000Z</published><updated>2016-04-18T01:49:27.272000Z</updated><author><name>Serdar Eke</name><uri>https://sourceforge.net/u/serdareke/</uri></author><id>https://sourceforge.netb7c597250296e3226e24eb6c0c614b91e25fa1d8</id><summary type="html">&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;</summary></entry><entry><title>SIGIO Handler Reentrant?</title><link href="https://sourceforge.net/p/libserial/discussion/29398/thread/d6a01c7f/" rel="alternate"/><published>2016-01-19T19:50:14.552000Z</published><updated>2016-01-19T19:50:14.552000Z</updated><author><name>Ludvik Jerabek</name><uri>https://sourceforge.net/u/ljerabek/</uri></author><id>https://sourceforge.net75d311272d17ce970bc6c5d75ab56c3006aaf91e</id><summary type="html">&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;</summary></entry><entry><title>Home modified by Crayzee Wulf</title><link href="https://sourceforge.net/p/libserial/wiki/Home/" rel="alternate"/><published>2015-06-03T21:33:34.295000Z</published><updated>2015-06-03T21:33:34.295000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.netd0b2809b57e6ed86fd3cfdbdb18de248dd8fa392</id><summary type="html">&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;</summary></entry><entry><title>LibSerial source code moved to GitHub</title><link href="https://sourceforge.net/p/libserial/news/2015/06/libserial-source-code-moved-to-github/" rel="alternate"/><published>2015-06-03T19:32:52.066000Z</published><updated>2015-06-03T19:32:52.066000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.net3c015a97710b6c7ed2000493ea61b86c116c54ab</id><summary type="html">&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;</summary></entry><entry><title>LibSerial Moving to GitHub</title><link href="https://sourceforge.net/p/libserial/news/2015/04/libserial-moving-to-github/" rel="alternate"/><published>2015-04-20T19:15:49.797000Z</published><updated>2015-04-20T19:15:49.797000Z</updated><author><name>Crayzee Wulf</name><uri>https://sourceforge.net/u/crayzeewulf/</uri></author><id>https://sourceforge.net8681c969b3f6ff4e3e026fddc57cec0f87247880</id><summary type="html">&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;</summary></entry></feed>