Search Results

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: Mr.
Forum: Computer Science Jul 1st, 2006
Replies: 1
Views: 4,455
Posted By Mr.
Hello,
while studying First Order Logic some of my results are a little different from the results in the book.

Can you please tell me if they are equivalement or why mine does not work?

Since...
Forum: Computer Science Dec 27th, 2005
Replies: 0
Views: 1,452
Posted By Mr.
Hello,
I'm not sure what is considered a "type". I need to identify the several types within a problem.

Example:
"There are products (name and code) and vans (brand and code) A van take a...
Forum: Legacy and Other Languages Nov 23rd, 2005
Replies: 1
Views: 2,831
Posted By Mr.
Hello,

the listp function doesn't apply the full "list" rules.

Example

(cons 1 ( cons 2 3 ))

Isn't a list as the definition goes:
Forum: Computer Science Nov 21st, 2005
Replies: 0
Views: 1,251
Posted By Mr.
Hello,
considering an application where a map is represent by a graph (array of vertex and adjmatrix). Also in that application, 2 agents have to go on the map and find ways in it (using different...
Forum: Computer Science Nov 6th, 2005
Replies: 0
Views: 3,702
Posted By Mr.
Hello,

not sure if it's ok to ask this here. I need to simplify a boolean algebra expression.

x'y'w'z' + x'yw'z' + xw'z' + x w + x'y'w'z + x'y'wz + x'y'wz'

after doing some operations the...
Forum: C Jul 20th, 2005
Replies: 3
Views: 1,879
Posted By Mr.
Probably gonna use the if anyway :o
Forum: C Jul 20th, 2005
Replies: 3
Views: 1,879
Posted By Mr.
Yeah, well, I think that putting pthread_join call after the pthread_Create call would work ok and would spare an if.

Just wanted to know if the other solution would clean everything.

Thanks...
Forum: C Jul 20th, 2005
Replies: 3
Views: 1,879
Posted By Mr.
Hello,

this is a simple model for a simple program that will spawn a thread to run a given option in a menu (only option 1 and 2 run threads). The loop will need to wait for a thread to complete,...
Forum: C Jun 28th, 2005
Replies: 2
Views: 10,906
Posted By Mr.
Well it's working Ok. managed to work it out from examples.

1) Just created a thread with

pthread_t newThreadName;

2) Then "attached" (not sure to what's the expression) the newThreadName to...
Forum: C Jun 28th, 2005
Replies: 2
Views: 10,906
Posted By Mr.
Hello,

some hits, tips, tricks...

Thanks.
Forum: Computer Science Jun 28th, 2005
Replies: 1
Views: 2,217
Posted By Mr.
Hello,

if we need to protect a given number of resources, do we need 1 semaphore for each?

Let's say:

4 shared memory areas, used by 3 processes;

Will we need to create a semaphore set...
Forum: C Jun 27th, 2005
Replies: 2
Views: 10,906
Posted By Mr.
Hello,

I want to create a very simple program to test threading. Example


int main () {

char option = 'a';
int run = 1;
Forum: Computer Science Jun 5th, 2005
Replies: 1
Views: 3,676
Posted By Mr.
Hello,

can a context belong to more than one process? When a process creates another with fork does the new process have a complete new context?

Thanks.
Forum: C Jun 5th, 2005
Replies: 0
Views: 1,269
Posted By Mr.
Sorry, posted this in the wrong forum.

Original message content deleted.

Posted here: http://daniweb.com/techtalkforums/threadedpost127370.html#post127370
Forum: C++ May 16th, 2005
Replies: 4
Views: 10,240
Posted By Mr.
It's working.

Pretty much the same, just inserted a pausing section / call to wait for the server before trying to reopen the pipe.

Thanks.
Forum: C++ May 15th, 2005
Replies: 4
Views: 10,240
Posted By Mr.
After investigating... (ps -xua)

* the server does get started (appears on process list using ps -xua)
* that processe's state is S (sleeping)

Any ideas?

Thanks.
Forum: C++ May 15th, 2005
Replies: 4
Views: 10,240
Posted By Mr.
Testing and learning purposes (the teacher asked it ).
Forum: C++ May 15th, 2005
Replies: 4
Views: 10,240
Posted By Mr.
Hello,

I have a small app that uses pipes to do some basic client / server communication, just for testing purposes.

Well, when the server is run before the client, it works fine. However, if...
Showing results 1 to 18 of 18

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC