Sponsored Content
Full Discussion: Processes sharing.......
Special Forums Hardware Filesystems, Disks and Memory Processes sharing....... Post 302253608 by redoubtable on Saturday 1st of November 2008 08:26:12 AM
Old 11-01-2008
Which programming language are you talking about?

You're probably looking for IPC (Inter-Process Communication). If you want your program to share information with another you could use pipe().

About memory pages, the kernel handles paging for you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sharing :0

I need some help on sharing the :0 display with access from a remote cunix box (3 Replies)
Discussion started by: dartay
3 Replies

2. UNIX for Dummies Questions & Answers

Internet sharing

I wanted to share internet with my Server running Win 2000 and client on Solaris 8. I networked them with a hub and 2 NICs on Server. Is there any software to share the internet? Need help!!!!!!!!!! Thanks... Praveen (5 Replies)
Discussion started by: praveenk
5 Replies

3. UNIX for Dummies Questions & Answers

Modem sharing

Hello guys. I am runnign SCO OSr5 and I need to share the modem with the local PCs in my network.. Can some one help? is this posible and if it is, how? F,Ruiz. (2 Replies)
Discussion started by: ruizf
2 Replies

4. UNIX for Advanced & Expert Users

file sharing

i want to share some file to some user of my group(there are many users in a perticular group). So how should i do that?And i m not a super user. (5 Replies)
Discussion started by: yogesh_powar
5 Replies

5. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

6. UNIX for Advanced & Expert Users

Monitoring Processes - Killing hung processes

Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go? Thank you Richard (4 Replies)
Discussion started by: ukndoit
4 Replies

7. Solaris

Identifying and grouping OS processes and APP processes

Hi Is there an easy way to identify and group currently running processes into OS processes and APP processes. Not all applications are installed as packages. Any free tools or scripts to do this? Many thanks. (2 Replies)
Discussion started by: wilsonee
2 Replies

8. Shell Programming and Scripting

Finding the age of a unix process, killing old processes, killing zombie processes

I had issues with processes locking up. This script checks for processes and kills them if they are older than a certain time. Its uses some functions you'll need to define or remove, like slog() which I use for logging, and is_running() which checks if this script is already running so you can... (0 Replies)
Discussion started by: sukerman
0 Replies

9. Programming

Sharing a serial port among multiple processes

I am creating a Daemon in Unix that will have exclusive access to a serial port "/dev/tty01". I am planning to create a Master - Slave process paradigm where there is one master (the daemon) and multiple slaves. I was thinking of having a structure in "Shared memory" where the slaves can... (2 Replies)
Discussion started by: zacharoni16
2 Replies

10. UNIX for Advanced & Expert Users

Asynchronus resource sharing between processes?

Hi, say I have some pages which I want to share between two processes asynchronously. Which IPC (inter process communication) mechanism is best for this kind of job to complete? Is the same mechanism work for synchronous sharing? Thanks for the replies. sanzee (2 Replies)
Discussion started by: sanzee007
2 Replies
libcurl-share(3)					      libcurl share interface						  libcurl-share(3)

NAME
libcurl-share - how to use the share interface DESCRIPTION
This is an overview on how to use the libcurl share interface in your C programs. There are specific man pages for each function mentioned in here. All functions in the share interface are prefixed with curl_share. OBJECTIVES
The share interface was added to enable sharing of data between curl "handles". ONE SET OF DATA - MANY TRANSFERS You can have multiple easy handles share data between them. Have them update and use the same cookie database, DNS cache, TLS session cache! This way, each single transfer will take advantage from data updates made by the other transfer(s). The sharing interface, however, does not share active or persistent connections between different easy handles. SHARE OBJECT
You create a shared object with curl_share_init(3). It returns a handle for a newly created one. You tell the shared object what data you want it to share by using curl_share_setopt(3). Since you can use this share from multiple threads, and libcurl has no internal thread synchronization, you must provide mutex callbacks if you're using this multi-threaded. You set lock and unlock functions with curl_share_setopt(3) too. Then, you make an easy handle to use this share, you set the CURLOPT_SHARE(3) option with curl_easy_setopt(3), and pass in share handle. You can make any number of easy handles share the same share handle. To make an easy handle stop using that particular share, you set CURLOPT_SHARE(3) to NULL for that easy handle. To make a handle stop shar- ing a particular data, you can CURLSHOPT_UNSHARE it. When you're done using the share, make sure that no easy handle is still using it, and call curl_share_cleanup(3) on the handle. SEE ALSO
curl_share_init(3), curl_share_setopt(3), curl_share_cleanup(3) libcurl-errors(3), libcurl-easy(3), libcurl-multi(3) libcurl 7.54.0 February 03, 2016 libcurl-share(3)
All times are GMT -4. The time now is 02:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy