Sponsored Content
Full Discussion: Multithreading in Pro*C
Top Forums Programming Multithreading in Pro*C Post 7074 by gerald_agoi on Tuesday 18th of September 2001 01:01:28 PM
Old 09-18-2001
Java

this is a suggetsion
The problem here could be table space or the value you are entering is
bigger than the size of the field. Check table space.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

domain logon problem - FreeBSD PDC w/ win2k pro and winxp pro

this is the seventh problem i'm having with samba. for some reason, i cannot logon to the domain. i've created user accounts... and i was able to establish a connection between the samba server (my PDC) and my workstations by logging in as "root." however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies

2. Programming

multithreading on OSX

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

3. UNIX for Dummies Questions & Answers

How to write Pro*C daemon process using multithreading?

Hello, I am new to this forum and this is my first post here... I have never worked on either Pro*C or Multithreading..Now, i have to write a Pro*C, Multithreading daemon process.. I dont know where to start.. Can anybody help me with examples? 1. need to write a Pro*C multithreading... (0 Replies)
Discussion started by: kachiraju
0 Replies

4. UNIX for Advanced & Expert Users

multithreading in UNIX

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

5. Shell Programming and Scripting

Multithreading program

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

6. Programming

MultiThreading using Pthreads

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

7. IP Networking

how to do udp broadcast with multithreading

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..... (0 Replies)
Discussion started by: moti12
0 Replies

8. Programming

how to do udp broadcast with multithreading

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

9. Programming

Help with multithreading

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
ici::doc::pod3::sdrtable(3)				       ICI library functions				       ici::doc::pod3::sdrtable(3)

NAME
sdrtable - Simple Data Recorder table management functions SYNOPSIS
#include "sdr.h" Object sdr_table_create (Sdr sdr, int rowSize, int rowCount); int sdr_table_user_data_set (Sdr sdr, Object table, Address userData); Address sdr_table_user_data (Sdr sdr, Object table); int sdr_table_dimensions (Sdr sdr, Object table, int *rowSize, int *rowCount); int sdr_table_stage (Sdr sdr, Object table); Address sdr_table_row (Sdr sdr, Object table, unsigned int rowNbr); int sdr_table_destroy (Sdr sdr, Object table); DESCRIPTION
The SDR table functions manage table objects in the SDR. An SDR table comprises N rows of M bytes each, plus optionally one word of user data (which is nominally the address of some other object in the SDR's heap space). When a table is created, the number of rows in the table and the length of each row are specified; they remain fixed for the life of the table. The table functions merely maintain information about the table structure and its location in the SDR and calculate row addresses; other SDR functions such as sdr_read() and sdr_write() are used to read and write the contents of the table's rows. In particular, the format of the rows of a table is left entirely up to the user. Object sdr_table_create(Sdr sdr, int rowSize, int rowCount) Creates a "self-delimited table", comprising rowCount rows of rowSize bytes each, in the heap space of the indicated SDR. Note that the content of the table, a two-dimensional array, is a single SDR heap space object of size (rowCount x rowSize). Returns the address of the new table on success, zero on any error. void sdr_table_user_data_set(Sdr sdr, Object table, Address userData) Sets the "user data" word of table to userData. Note that userData is nominally an Address but can in fact be any value that occupies a single word. It is typically used to point to an SDR object that somehow characterizes the table as a whole, such as an SDR string containing a name. Address sdr_table_user_data(Sdr sdr, Object table) Returns the value of the "user data" word of table, or zero on any error. void sdr_table_dimensions(Sdr sdr, Object table, int *rowSize, int *rowCount) Reports on the row size and row count of the indicated table, as specified when the table was created. void sdr_table_stage(Sdr sdr, Object table) Stages table so that the array it encapsulates may be updated; see the discussion of sdr_stage() in sdr(3). The effect of this function is the same as: sdr_stage(sdr, NULL, (Object) sdr_table_row(sdr, table, 0), 0) Address sdr_table_row(Sdr sdr, Object table, unsigned int rowNbr) Returns the address of the rowNbrth row of table, for use in reading or writing the content of this row; returns -1 on any error. void sdr_table_destroy(Sdr sdr, Object table) Destroys table, releasing all bytes of all rows and destroying the table structure itself. DO NOT use sdr_free() to destroy a table, as this would leave the table's content allocated yet unreferenced. SEE ALSO
sdr(3), sdrlist(3), sdrstring(3) perl v5.14.2 2012-05-25 ici::doc::pod3::sdrtable(3)
All times are GMT -4. The time now is 01:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy