05-28-2009
Ksh Create Thread
I think I know the answer but I'll ask and see if someone with more expertise can share new light on this topic: Does Ksh have the capability to create new threads (not processes) and/or offer some multiplexing on named pipes?
Thanks for your assistance!
~sreyes27
10 More Discussions You Might Find Interesting
1. HP-UX
Hello,
J create a thread C with a JNI function via JAVA.
J have the following message (but not in each time):
Someone has an idea ?
Thank.
Unexpected Signal : 4 occurred at PC=0x78C103E0
Function=
Library=(N/A)
NOTE: We are unable to locate the function name... (0 Replies)
Discussion started by: AUBERT
0 Replies
2. Programming
hi all,
my requirement is to create a thread by calling another function.
i.e i dont call pthread_create directly from main, but by calling another function (createThd - below ), from main.
Example:
void *thread_function(void *arg) { /* thread function */
int i;
rc =... (3 Replies)
Discussion started by: wolwy_pete
3 Replies
3. Shell Programming and Scripting
Hi,
Please provide your inputs..
Thanks in Advance,
Mansa (1 Reply)
Discussion started by: mansa
1 Replies
4. Programming
hello
I have this code
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include <pthread.h>
#include<cstring>
using namespace std;
int var1=0;
void doSomething()
{
var1 = 5;
cout<<"Do S :"<<var1<<endl;
sleep(1);
var1 =7; (4 Replies)
Discussion started by: vip_a1
4 Replies
5. Programming
I try to initial a UDP client from threading, but it doesn't work? why?
These codes from the textbook
#define ECHOMAX 255 /* Longest string to echo */
#define TIMEOUT_SECS 2 /* Seconds between retransmits */
#define MAXTRIES 5 /* Tries before giving up */... (3 Replies)
Discussion started by: sehang
3 Replies
6. Post Here to Contact Site Administrators and Moderators
please tell me how can i post a new post. i am not getting any option to post a new question.
any suggestion is highly appreciated.
thanks,
Arpit (1 Reply)
Discussion started by: thearpit
1 Replies
7. UNIX for Advanced & Expert Users
Hello everyone,
I created a test program for pthread priority set. Here's the code, very simple, 60 lines only.
I've tried this prog on my Fedora 13(on vbox), and on my 6410 arm linux 2.6.36. Both the same result.
Both environments are using root privileges.
Can any body tells me why the... (15 Replies)
Discussion started by: ss1969
15 Replies
8. Shell Programming and Scripting
Hi,
I want to create a log file for a running ksh , and the log file absolute path I want to give in ksh itself.
To elaborate this - Say I have a ksh - timer.ksh and I want to create a log timer_log.log when I run, to trace this. I am aware of the fact that this can be done using redirection... (4 Replies)
Discussion started by: vinay4889
4 Replies
9. Forum Support Area for Unregistered Users & Account Problems
Hi, Scott, I am still meet a problem when I want to reply or create a new thread in "Shell Programming and Scripting" Forum, It reminds that:
To create new threads in this forum your post count must be 10 or greater.
You currently have 2 posts.
To my surprise, I posted a thread in "Shell... (4 Replies)
Discussion started by: weichanghe2000
4 Replies
10. Forum Support Area for Unregistered Users & Account Problems
Hi.
I registered, but when trying to post, I get ...
"Sorry, you do not have enough Bits to post a new thread"
Google & Forum search showed some hits, but no solution.
Please advide.
Thanks! (1 Reply)
Discussion started by: gehe
1 Replies
LEARN ABOUT MOJAVE
curlopt_pipewait
CURLOPT_PIPEWAIT(3) curl_easy_setopt options CURLOPT_PIPEWAIT(3)
NAME
CURLOPT_PIPEWAIT - wait for pipelining/multiplexing
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PIPEWAIT, long wait);
DESCRIPTION
Set wait to 1L to tell libcurl to prefer to wait for a connection to confirm or deny that it can do pipelining or multiplexing before con-
tinuing.
When about to perform a new transfer that allows pipelining or multiplexing, libcurl will check for existing connections to re-use and
pipeline on. If no such connection exists it will immediately continue and create a fresh new connection to use.
By setting this option to 1 - and having CURLMOPT_PIPELINING(3) enabled for the multi handle this transfer is associated with - libcurl
will instead wait for the connection to reveal if it is possible to pipeline/multiplex on before it continues. This enables libcurl to much
better keep the number of connections to a minimum when using pipelining or multiplexing protocols.
The effect thus becomes that with this option set, libcurl prefers to wait and re-use an existing connection for pipelining rather than the
opposite: prefer to open a new connection rather than waiting.
The waiting time is as long as it takes for the connection to get up and for libcurl to get the necessary response back that informs it
about its protocol and support level.
DEFAULT
0 (off)
PROTOCOLS
HTTP(S)
EXAMPLE
AVAILABILITY
Added in 7.43.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_FORBID_REUSE(3), CURLOPT_FRESH_CONNECT(3), CURLMOPT_PIPELINING(3), CURLMOPT_MAX_HOST_CONNECTIONS(3),
libcurl 7.54.0 May 01, 2016 CURLOPT_PIPEWAIT(3)