Sponsored Content
Full Discussion: Basic multithreaded program
Top Forums Programming Basic multithreaded program Post 302325275 by pludi on Sunday 14th of June 2009 08:23:09 AM
Old 06-14-2009
Could you give us some more information?
  • How do you get the list of programs to be run?
  • Are there any dependencies between the programs? If yes, how would you describe them?
  • What should happen to stdout/stderr? Output to the console or saved somewhere?
  • Do the programs require some kind of input once they're running?
 

9 More Discussions You Might Find Interesting

1. Programming

Getting errno in a Multithreaded program

In Tru64 Unix, the 'errno' variable is not thread safe. Could anybody help me about how to make it thread safe or how to check 'errno' in a Multithreaded program ???? The Programming process is like this. There are some definite number of threads having their own task. There is one... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

2. Programming

basic math program 4 child

Iam writing a script for my sisters friends little brother i want the program to say hello lets say his name is Joe and ask him how he is and he can write a reply back saying fine and then it replys "Iam happy you are (his response) today and then it goes into a basic math where he can put in a... (9 Replies)
Discussion started by: perleo
9 Replies

3. Shell Programming and Scripting

Having trouble writing a basic shell program

Hello. I'm trying to write a shell script that will take files that have .tar, .tar.gz, .tar.Z, .gz, .Z and .zip file extensions and uncompress and unarchive them. The script should be able to take multiple arguments. So far I can write a script using the case command that will do this but it will... (3 Replies)
Discussion started by: SeanWuzHere
3 Replies

4. Linux

getting problem in my code:::: plz help...(multithreaded appn with serial comm.)

hello, here I am copying my code... I am using two threads for reading and writing at com ports....one for reading and one for writing...in read thread I am using select() api....and polling again and again if there is some data to be read....but select is not returning any positive value so... (0 Replies)
Discussion started by: arunchaudhary19
0 Replies

5. Shell Programming and Scripting

execute command multithreaded util without programming

Hello all is there any way in unix to execute command in multithreaded way without doing it in java or cpp can one of the scripts handle multithread execution ? i need to test server requests ( corba ) in multithread Thanks (0 Replies)
Discussion started by: umen
0 Replies

6. UNIX for Advanced & Expert Users

forking in multithreaded program

hi all, i am using pthreads. What will happen if a thread does a fork? will all the threads are duplicated for the new process or only the called thread is duplicated? are the resources shared across the processes? thank you (0 Replies)
Discussion started by: skyrulz
0 Replies

7. HP-UX

Program monitor on BT-Basic

Hi, The "program monitor" command in BT-Basic prompt you for a user name and a password. How can I grant access only to certain users ? Thank you. (0 Replies)
Discussion started by: fosiceanu
0 Replies

8. Homework & Coursework Questions

Need help with Basic Unix Program

I am a newbie to UNIX. I'm learning UNIX on my own, just trying to get the jerk of how things work in UNIX environment. I am familiar with Windows environment. Can anyone pls write simple 'envprint' programs to : 1) List all the environment Information (using the -l or --l options) 2) ... (1 Reply)
Discussion started by: agup17
1 Replies

9. Homework & Coursework Questions

Log file analyzer, super basic sh program

Hello! I'd like some help with this assignment. 1. The problem statement, all variables and given/known data: 1)Write a shell script that can uses two types of files as inputs, apache.log and apache.error.log 2)Make it so that you can switch between the two file types 3)Make it so that the... (5 Replies)
Discussion started by: malfiory
5 Replies
cups-driverd(8) 						    Apple Inc.							   cups-driverd(8)

NAME
cups-driverd - cups driver daemon SYNOPSIS
cups-driverd cat ppd-name cups-driverd list request_id limit options DESCRIPTION
cups-driverd shows or lists PPD files. It is run in response to CUPS-Add-Modify-Printer or CUPS-Get-Devices requests. The first form ("cups-driverd cat ppd-name") writes the named PPD file to stdout. The output format is an uncompressed PPD file. The second form lists the available manufacturers or PPD files to stdout as indicated by the options argument. The output format is an IPP response message. The request_id argument is the request ID from the original IPP request, typically 1. The limit argument is the limit value from the original IPP request - 0 means no limit. Finally, the options argument is a space-delimited list of attributes ("name=value name=value ...") that were passed in with the request. Currently cups-driverd looks for the ppd-make and requested-attributes attributes and tailors the output accordingly. DRIVERS
Drivers can be static PPD files under the /usr/share/cups/model directory or programs under the /usr/lib/cups/driver directory. Static PPD files must conform to the Adobe PPD File Format Specification version 4.3 and may be compressed using the gzip(1) program. Driver programs must implement the command-line interface shown in the next section. DRIVER PROGRAMS Driver programs provide a interface to dynamically-generated PPD files. The following arguments are currently defined: drivername list Lists the supported PPD files to stdout. drivername cat ppdname Writes the named PPD file to stdout. Driver programs MUST NOT query hardware or make other long-term operations that would delay the return of a driver list. See the NOTES sec- tion below for specific recommendations. LISTING FILES (drivername list) When run with the single argument "list", the program must list the available PPD files it can generate to stdout using the following for- mat: "drivername:ppdname" language "make" "make and model" "drivername:ppdname" language "make" "make and model" "1284 device id" "drivername:ppdname" language "make" "make and model" "1284 device id" "(PPD product)" "drivername:ppdname" language "make" "make and model" "1284 device id" "(PPD product)" "PostScript version" "drivername:ppdname" language "make" "make and model" "1284 device id" "(PPD product)" "PostScript version" "type" Drivername is the name of the driver program. Ppdname is the name used to select the given driver. Language is the locale associated with the default language of the PPD file, typically "en". Make is the Manufacturer name from the PPD file. Make and model is the NickName name from the PPD file. 1284 device id is the 1284DeviceId from the PPD file, if any. (PPD product) is the Product string as it would appear in the PPD file or from a PostScript query. PostScript version is the PSVersion string as it would appear in the PPD file or from a PostScript query. Type is "postscript" for PostScript printers, "pdf" for PDF printers, "raster" for raster printers, or "fax" for facsimile devices. WRITING FILES (drivername cat ppdname) When the driver program is run with the "cat ppdname" arguments, it must write the named PPD file to stdout, uncompressed. If the named PPD file does not exist, the driver program must not write any output to stdout and report the error to stderr instead. DRIVER ERROR MESSAGES Error messages can be relayed back to cupsd by writing them to stderr. The following prefixes are recognized: DEBUG: [drivername] Debugging messages ERROR: [drivername] Error messages INFO: [drivername] Informational messages NOTES
Due to performance considerations, driver programs have been officially deprecated and should not be used for new development. Currently only the CUPS web interface and lpinfo(8) command will request lists from all driver programs. SEE ALSO
cupsd(8), cupsd.conf(5), cupstestppd(1), lpinfo(8), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 6 January 2011 CUPS cups-driverd(8)
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy