No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
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 we dont have the sybols, the following will be used: * Universal = A …
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 product to X. Vans are atributed to products by order of arrival. The user can: …
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: * either an empty list (nil) * or a cons cell that has a list for a cdr altough listp yelds true to that "list" …
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 algorithms). A possible way to do it: using an AdjMatrix for each agent. When …
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 expressioon is like this x' y' + zw' + zx + xw My …
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 with 3 semaphores? Thanks.
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, so it uses the thread_join function [code] pthread_t newthread; …
Hello, I want to create a very simple program to test threading. Example [code] int main () { char option = 'a'; int run = 1; while ( option != 'x' ) { option = getch (); /* some code that changes run */ /* thread ? */ } } …
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.
Sorry, posted this in the wrong forum. Original message content deleted. Posted here: [url]http://daniweb.com/techtalkforums/threadedpost127370.html#post127370[/url]
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 the client is run before the server, there are problems. To solve this I wanted …
The End.
Mr.