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::Number(3) Library Functions Manual ost::Number(3)
NAME
ost::Number -
A number manipulation class.
SYNOPSIS
#include <numbers.h>
Inherited by ost::DateNumber, and ost::ZNumber.
Public Member Functions
Number (char *buffer, unsigned size)
Create an instance of a number.
void setValue (long value)
const char * getBuffer () const
long getValue () const
long operator() ()
operator long ()
operator char * ()
long operator= (const long value)
long operator+= (const long value)
long operator-= (const long value)
long operator-- ()
long operator++ ()
int operator== (const Number &num)
int operator!= (const Number &num)
int operator< (const Number &num)
int operator<= (const Number &num)
int operator> (const Number &num)
int operator>= (const Number &num)
Protected Attributes
char * buffer
unsigned size
Friends
long operator+ (const Number &num, const long val)
long operator+ (const long val, const Number &num)
long operator- (const Number &num, long val)
long operator- (const long val, const Number &num)
Detailed Description
A number manipulation class.
This is used to extract, convert, and manage simple numbers that are represented in C ascii strings in a very quick and optimal way.
Author:
David Sugar dyfet@ostel.com number manipulation.
Constructor & Destructor Documentation
ost::Number::Number (char *buffer, unsignedsize)
Create an instance of a number. Parameters:
buffer or NULL if created internally.
size use - values for zero filled.
Member Function Documentation
const char* ost::Number::getBuffer () const [inline]
long ost::Number::getValue () const
ost::Number::operator char * () [inline]
ost::Number::operator long () [inline]
int ost::Number::operator!= (const Number &num)
long ost::Number::operator() () [inline]
long ost::Number::operator++ ()
long ost::Number::operator+= (const longvalue)
long ost::Number::operator-- ()
long ost::Number::operator-= (const longvalue)
int ost::Number::operator< (const Number &num)
int ost::Number::operator<= (const Number &num)
long ost::Number::operator= (const longvalue)
Reimplemented in ost::ZNumber.
int ost::Number::operator== (const Number &num)
int ost::Number::operator> (const Number &num)
int ost::Number::operator>= (const Number &num)
void ost::Number::setValue (longvalue)
Reimplemented in ost::ZNumber.
Friends And Related Function Documentation
long operator+ (const Number &num, const longval) [friend]
long operator+ (const longval, const Number &num) [friend]
long operator- (const Number &num, longval) [friend]
long operator- (const longval, const Number &num) [friend]
Member Data Documentation
char* ost::Number::buffer [protected]
unsigned ost::Number::size [protected]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Number(3)