9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys,
Suppose i run passwd via bash shell. It is a suid program, which temporarily runs as root(owner) and modifies the user entries.
However, when i write a C file and give 4755 permission and root ownership to the 'a.out' file , it doesn't run as root in bash shell. I verified this by... (2 Replies)
Discussion started by: syncmaster
2 Replies
2. IP Networking
Hi,
I am trying my hand in networking programming in C, and got stuck in piping.
I was following some tutorial and did the forking like :
while (1)
{
newsockfd = accept(sockfd,
(struct sockaddr *) &cli_addr, &clilen);
if (newsockfd < 0)
... (4 Replies)
Discussion started by: abhi1988sri
4 Replies
3. Shell Programming and Scripting
I have one script that calls another script during execution. The other script does some processing, then either returns with exit 0 (if successful), or exits with error code numbers (if failed). However, in addition to the error code, I would like for that second script to be able to pass a... (4 Replies)
Discussion started by: AcerAspirant
4 Replies
4. Solaris
Hello,
Has somebody download it before oracle deleted from support section?
I tried dl it from:
oracle.com/us/products/tools/message-passing-toolkit-070499.html Oracle Message Passing Toolkit
but:
section decommissioned. Same in support and edelivery
I phoned to oracle support and... (2 Replies)
Discussion started by: time0ut
2 Replies
5. UNIX for Dummies Questions & Answers
Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies
6. UNIX for Advanced & Expert Users
i want to add a system call(successfuly added) and pass the message(which contains int and a string)
/*code i used my program calling system call printmsg*/
message mm;
mm.m1_i1=10;
mm.m1_p1="hello";
printmsg(&mm);
/*user library*/
printmsg(*m1)
{
printf("integer... (1 Reply)
Discussion started by: kathir_dz
1 Replies
7. UNIX Benchmarks
CPU: 1 x PA8600, 440MHz
RAM: 1GB
Hardware model: 9000/800/N4000-44
BYTE UNIX Benchmarks (Version 3.11)
System -- HP-UX xxx B.11.11 U 9000/800 615379343 unlimited-user license
Start Benchmark Run: Tue Apr 4 05:43:42 IST 2006
1 interactive users.
Dhrystone 2 without register... (0 Replies)
Discussion started by: blowtorch
0 Replies
8. Linux
I work in a computer company which sells computer configurations and parts of them. And I want to give a choice to customers. If they want to buy a PC with Linux installed, not Windows. But I find difficult to test the Graphic Cards in Linux OS. I have searched the web and I didn't found any... (2 Replies)
Discussion started by: vlatkop
2 Replies
9. Programming
Dear All,
Would you tell me how I can passing a message along pipes?
I have built a token ring connected with pipes, but I don't know how to pass the message along it through the command line...
Thx.
Yours,
i- (1 Reply)
Discussion started by: iminus
1 Replies
GStreamer::Message(3pm) User Contributed Perl Documentation GStreamer::Message(3pm)
NAME
GStreamer::Message - Lightweight objects to signal the application of pipeline events
DESCRIPTION
The various nmessage types are represented as subclasses:
GStreamer::Message::EOS
GStreamer::Message::Error
GStreamer::Message::Warning
GStreamer::Message::Info
GStreamer::Message::Tag
GStreamer::Message::Buffering
GStreamer::Message::StateChanged
GStreamer::Message::StateDirty
GStreamer::Message::StepDone
GStreamer::Message::ClockProvide
GStreamer::Message::ClockLost
GStreamer::Message::NewClock
GStreamer::Message::StructureChange
GStreamer::Message::StreamStatus
GStreamer::Message::Application
GStreamer::Message::Element
GStreamer::Message::SegmentStart
GStreamer::Message::SegmentDone
GStreamer::Message::Duration
GStreamer::Message::Latency [0.10.12]
GStreamer::Message::AsyncStart [0.10.13]
GStreamer::Message::AsyncDone [0.10.13]
To create a new message, you call the constructor of the corresponding class.
To check if a message is of a certain type, use the & operator on the type method:
if ($message -> type & "error") {
# ...
}
elsif ($message -> type & "eos") {
# ...
}
To get to the content of a message, call the corresponding accessor:
if ($message -> type & "state-changed") {
my $old_state = $message -> old_state;
my $new_state = $message -> new_state;
my $pending = $message -> pending;
# ...
}
elsif ($message -> type & "segment-done") {
my $format = $message -> format;
my $position = $message -> position;
# ...
}
METHODS
object = $message->src
structure = $message->get_structure
64 bit unsigned = $message->timestamp
messagetype = $message->type
ENUMS AND FLAGS
flags GStreamer::MessageType
o 'unknown' / 'GST_MESSAGE_UNKNOWN'
o 'eos' / 'GST_MESSAGE_EOS'
o 'error' / 'GST_MESSAGE_ERROR'
o 'warning' / 'GST_MESSAGE_WARNING'
o 'info' / 'GST_MESSAGE_INFO'
o 'tag' / 'GST_MESSAGE_TAG'
o 'buffering' / 'GST_MESSAGE_BUFFERING'
o 'state-changed' / 'GST_MESSAGE_STATE_CHANGED'
o 'state-dirty' / 'GST_MESSAGE_STATE_DIRTY'
o 'step-done' / 'GST_MESSAGE_STEP_DONE'
o 'clock-provide' / 'GST_MESSAGE_CLOCK_PROVIDE'
o 'clock-lost' / 'GST_MESSAGE_CLOCK_LOST'
o 'new-clock' / 'GST_MESSAGE_NEW_CLOCK'
o 'structure-change' / 'GST_MESSAGE_STRUCTURE_CHANGE'
o 'stream-status' / 'GST_MESSAGE_STREAM_STATUS'
o 'application' / 'GST_MESSAGE_APPLICATION'
o 'element' / 'GST_MESSAGE_ELEMENT'
o 'segment-start' / 'GST_MESSAGE_SEGMENT_START'
o 'segment-done' / 'GST_MESSAGE_SEGMENT_DONE'
o 'duration' / 'GST_MESSAGE_DURATION'
o 'latency' / 'GST_MESSAGE_LATENCY'
o 'async-start' / 'GST_MESSAGE_ASYNC_START'
o 'async-done' / 'GST_MESSAGE_ASYNC_DONE'
o 'request-state' / 'GST_MESSAGE_REQUEST_STATE'
o 'step-start' / 'GST_MESSAGE_STEP_START'
o 'qos' / 'GST_MESSAGE_QOS'
o 'progress' / 'GST_MESSAGE_PROGRESS'
o 'any' / 'GST_MESSAGE_ANY'
SEE ALSO
GStreamer
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Message(3pm)