9 More Discussions You Might Find Interesting
1. Programming
I take this question of the The Linux Programming Interface: A Linux and Unix System Programming page 652 exercise 30.1
I want someone to explain the under line statement because it sounds complex to me couldn't understand anything
30-1 Modify the program (thread_incr.c) so that each loop in... (3 Replies)
Discussion started by: fwrlfo
3 Replies
2. UNIX for Advanced & Expert Users
Hi, all:
Is there any shell command to show which interrupt handler handle which interrupt number in the system?
li,kunlun (5 Replies)
Discussion started by: liklstar
5 Replies
3. Programming
hello to all
i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (6 Replies)
Discussion started by: moti12
6 Replies
4. UNIX for Advanced & Expert Users
I receive the following warning messages on a very new machine which has FreeBSD 8.1 x64 installed on it:
Interrupt storm detected on "irq 20" throttling interrupt source
It is unclear what this means and what its origins are (motherboard? CPU? RAM?).
I can start the desktop and the message is... (4 Replies)
Discussion started by: figaro
4 Replies
5. Programming
Situation:
i have multiple pthread_create calls like this:
pthread_create(...., ThreadFunc1,.....);
pthread_create(...., ThreadFunc2,.....);
.
.
which i am using to create multiple threads.All the "ThreadFunc<i>" functions are actually calling same function "Receive" of a class using same... (3 Replies)
Discussion started by: Sastra
3 Replies
6. Shell Programming and Scripting
Hi
I need to insert 1million records into MySQL database, but it is taking lot of time as there is no bulk insert support.
I want to spawn 10 processes which will insert 100k records each parallely.
Can somebody help me with a example program to execute this task through shell scripting. (5 Replies)
Discussion started by: sach_roger
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
Can you please give me a suitable reference to learn multithreading programming in C in UNIX?
Thanks (3 Replies)
Discussion started by: naan
3 Replies
8. Programming
Hi all, I have a query about multithreading. What I would like to do is, at the start of my main update() function, start a couple of threads in parallel, once they are all complete carry on with my main update function.
void update() {
thread1->update(); // fluid solver
... (3 Replies)
Discussion started by: memoid
3 Replies
9. Programming
:confused:
Hi!
I have created a Multhreaded Application in Pro*C (using pthreads) with about 5 Threads running simultaneously. The Application is basically to Update a Centralized Table in Oracle, which updates different rows in the Table (Each Thread updates different rows!). The... (16 Replies)
Discussion started by: shaik786
16 Replies
ost::IPV4Mask(3) Library Functions Manual ost::IPV4Mask(3)
NAME
ost::IPV4Mask -
Internet addresses used specifically as masking addresses (such as '
255.255.255.0') are held in the IPV4Mask derived object.
SYNOPSIS
#include <address.h>
Inherits ost::IPV4Address.
Public Member Functions
IPV4Mask (const char *mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'.
IPV4Address & operator= (unsigned long addr)
Allows assignment from the return of functions like inet_addr() or htonl()
Friends
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask)
Masks are usually used to coerce host addresses into a specific router or class domain.
Additional Inherited Members
Detailed Description
Internet addresses used specifically as masking addresses (such as '
255.255.255.0') are held in the IPV4Mask derived object.
The separate class is used so that C++ type casting can automatically determine when an IPV4Address object is really a mask address object
rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a
Masked address as well as providing cleaner and safer source.
Author:
David Sugar dyfet@ostel.com Internet Address Mask such as subnet masks.
Constructor & Destructor Documentation
ost::IPV4Mask::IPV4Mask (const char *mask)
Create the mask from a null terminated ASCII string such as '255.255.255.128'. Parameters:
mask null terminated ASCII mask string.
Member Function Documentation
IPV4Address& ost::IPV4Mask::operator= (unsigned longaddr) [inline]
Allows assignment from the return of functions like inet_addr() or htonl()
Reimplemented from ost::IPV4Address.
References ost::IPV4Address::operator=().
Friends And Related Function Documentation
__EXPORT IPV4Host operator& (const IPV4Host &addr, const IPV4Mask &mask) [friend]
Masks are usually used to coerce host addresses into a specific router or class domain. This can be done by taking the Inet Host Address
object and 'and'ing it with an address mask. This operation can be directly expressed in C++ through the & operator.
Returns:
a internet host address that has been masked.
Parameters:
addr host address to be masked by subnet.
mask inetnet mask address object to mask by.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::IPV4Mask(3)