Search Results

Search: Posts Made By: _thomas
Forum: Programming 09-06-2010
2,001
Posted By _thomas
Forum: Programming 09-04-2010
16,545
Posted By _thomas
I know I can do it like you suggested but I have...
I know I can do it like you suggested but I have more complicated case. I will try to explain my application more clearly.

I building communication gateway that connects two industrial networks...
Forum: Programming 09-03-2010
16,545
Posted By _thomas
It looks like I have a lot of reading to do. I...
It looks like I have a lot of reading to do. I can't afford my self another case of deadlocking. I'll try to write threadsafe application like you suggested. Below is pseudo code of simplified...
Forum: Programming 09-03-2010
16,545
Posted By _thomas
Thank you for your reply. I think I have found...
Thank you for your reply. I think I have found quicker and safer solution for problem.

I've removed all my code from signal handler and added variable increment.

void timer_handler(int signum)...
Forum: Programming 09-03-2010
16,545
Posted By _thomas
I'll try to remove all sem_wait and...
I'll try to remove all sem_wait and pthread_create functions from my signal handler, thanks.
Forum: Programming 09-03-2010
16,545
Posted By _thomas
You are right about sem_wait(). I didn't know...
You are right about sem_wait(). I didn't know that. I was sure that sem_post() is async-signal safe and that is true. I didn't check for sem_wait().
Below is only a part of my timer_handler...
Forum: Programming 09-02-2010
16,545
Posted By _thomas
Signals and semaphores
I have problem with my application. Application is running on embedded Linux machine. It's basically multiprotocol gateway that connects two industrial Ethernet networks.

We are experiencing some...
Forum: Programming 05-13-2010
5,801
Posted By _thomas
Yes, client is on known port. I don't have a...
Yes, client is on known port. I don't have a problem with this part of code, I managed to send and receive in both ways.

Why do you think select is a better choice? I
Thank you for the advice...
Forum: Programming 05-12-2010
5,801
Posted By _thomas
Socket programming
Hi everyone,

I'm new to this forum. I'm working on new project for last few days and this forum already helped me on
couple of occasions. I don't have any prior experience with network...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy