Sponsored Content
Top Forums Programming Multithreading in reading file Post 302576111 by arunkumar_mca on Wednesday 23rd of November 2011 03:53:30 PM
Old 11-23-2011
Thanks for your reply and BTW this is not a homework. If reading in multithreading in not a feasible solution can you suggest me a way and algorithm to do this in a single threaded mode

Thanks,
Arun
 

9 More Discussions You Might Find Interesting

1. Programming

Multithreading in Pro*C

: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

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 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

4. 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

5. 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

6. 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

7. 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

8. What is on Your Mind?

Alarm interrupt and multithreading

Hi Friends any know how became a friend in this Android Programming Language (0 Replies)
Discussion started by: ljarun
0 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
STRINGS(1)						    BSD General Commands Manual 						STRINGS(1)

NAME
strings -- print the strings of printable characters in files SYNOPSIS
strings [-a | --all] [-e encoding | --encoding=encoding] [-f | --print-file-name] [-h | --help] [-n number | --bytes=number | -number] [-o] [-t radix | --radix=radix] [-v | --version] [file ...] DESCRIPTION
For each file specified, the strings utility prints contiguous sequences of printable characters that are at least n characters long and are followed by an unprintable character. The default value of n is 4. By default, the strings utility only scans the initialized and loaded sections of ELF objects; for other file types, the entire file is scanned. The strings utility is mainly used for determining the contents of non-text files. If no file name is specified as an argument, standard input is read. The following options are available: -a | --all For ELF objects, scan the entire file for printable strings. -e encoding | --encoding=encoding Select the character encoding to be used while searching for strings. Valid values for argument encoding are: s for single 7-bit-byte characters (ASCII, ISO 8859). S for single 8-bit-byte characters. l for 16-bit little-endian. b for 16-bit big-endian. L for 32-bit little-endian. B for 32-bit big-endian. The default is to assume that characters are encoded using a single 7-bit byte. -f | --print-file-name Print the name of the file before each string. -h | --help Print a usage summary and exit. -n number | --bytes=number | -number Print the contiguous character sequence of at least number characters long, instead of the default of 4 characters. -o Equivalent to specifying -t o. -t radix | --radix=radix Print the offset from the start of the file before each string using the specified radix. Valid values for argument radix are: d for decimal o for octal x for hexadecimal -v | --version Display a version identifier and exit. EXIT STATUS
The strings utility exits 0 on success, and >0 if an error occurs. EXAMPLES
To display strings in /bin/ls use: $ strings /bin/ls To display strings in all sections of /bin/ln use: $ strings -a /bin/ln To display strings in all sections of /bin/cat prefixed with the filename and the offset within the file use: $ strings -a -f -t x /bin/cat SEE ALSO
ar(1), nm(1), objdump(1), ranlib, readelf(1), size(1) HISTORY
The first FreeBSD strings utility appeared in FreeBSD v3. It was later discontinued in FreeBSD v5, when i386-only a.out format was dropped in favor of ELF. AUTHORS
The strings utility was re-written by S.Sam Arun Raj <samarunraj@gmail.com>. This manual page was written by S.Sam Arun Raj <samarunraj@gmail.com>. BSD
December 19, 2011 BSD
All times are GMT -4. The time now is 01:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy