Search Results

Search: Posts Made By: pyramation
Forum: Programming 11-05-2010
1,914
Posted By pyramation
If you are using threading absolutely. You will...
If you are using threading absolutely. You will have to use a mutex.


if (FD_ISSET(fd, &read_fds)) {

...
Forum: Programming 10-27-2010
3,696
Posted By pyramation
Makefile includes and shell environment during compile
Below is the top of my Makefile. On one machine, I have mysql_config5, and another, I have mysql_config. In my .bashrc file of one UNIX machine, I added an alias so that that mysql_config5 is...
Forum: Programming 10-27-2010
1,914
Posted By pyramation
use select()
you should use select() to do what you want.

BSD sockets already optimizes this for you.

When you look at the file descriptor in the FD_SET, check if its the listening socket, if it is, then...
Forum: Programming 12-07-2009
2,931
Posted By pyramation
functions that manipulate void pointers
I have two or more linked lists that have the same names for their "next". For example,

struct server_t {
sockaddr_in * sin;
server_t * next_;
}

struct player_t {
char name[10];
...
2,536
Posted By pyramation
ssh and scp between comps over eth0
How can I establish a secure link (such that ssh and scp can be used) between two unix/linux machines over ethernet?
1,892
Posted By pyramation
nope, that won't work either, but, I do have a...
nope, that won't work either, but, I do have a question about your reply, what does "sourcing it instead of executing it" do?

as far as progress towards the original question, I tried simply...
Forum: OS X (Apple) 07-12-2009
5,793
Posted By pyramation
you can also do this: diskutil unmountDisk...
you can also do this:

diskutil unmountDisk force /Volumes/<name of drive>

example:
diskutil unmountDisk force /Volumes/Video\ 800
1,892
Posted By pyramation
keep I/O Redirection programming interactive
when using I/O redirection to program another program from a script, how can you keep the program open in an interactive state without closing. For example:

gdb <<EOF
file a.out
run
EOF

this...
2,876
Posted By pyramation
link scripts to file extensions for tab completion
Is there a way to link a script in my ~/bin with file extension priority for tab completion?

for example, if the script I have could only look at .tex files, and I have 6 files in the same...
Showing results 1 to 9 of 9

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