A notification system is a combination of software and hardware that provides a means of delivering a message to a set of recipients.
Questions tagged [notify]
754 questions
0
votes
1 answer
gwt notify specifics clients
Hie,
I'am actually using gwt for my app, but may be it's not a gwt related question:
I have some users which can send message to other users (connected or not), i'd like to notify the recipient (and only this recipient) he has received one message,…

user1568220
- 1,018
- 1
- 8
- 10
0
votes
3 answers
Multithreading in java (two threads extensively using both notify() and wait())
When I try to run a following program, there is an IllegalMonitorStateException in the first call to notify () in this piece of code:
synchronized (c) {
try {
notify();
....
This throws me off a little bit: how is it possible…

Alexey Danilov
- 301
- 4
- 13
0
votes
1 answer
How can I get a single thread to wait instead of my whole program?
I am writing a server program that notifies the clients over RMI when there are clients in an ArrayList.
However I can't stop and resume the thread that notifies the client.
Here is my code:
package eu.craenhals;
import java.awt.Dimension;
import…

Joël Craenhals
- 475
- 7
- 19
0
votes
1 answer
Hierarchical deadlocking (with dependencies), ...or: how do I get my "wait"s, "notify"s, and design right?
// multiple server instances (replicas), coordinated using MsgCoordinationService
public class Server {
ConcurrentHashMap> local_registry = new ...
MsgCoordinationService coordination_service = new ..
...
//…

fbahr
- 853
- 1
- 8
- 13
0
votes
1 answer
Cannot catch signal_motion_notify_event in gtkmm
I used following code to catch motion notify events on a Gtk::TreeView.
// This is the Gtk::Builder from which i read my tree view.
builder_ptr->get_widget("treeview", m_treeview_ptr);
// Connecting that…

Philipp H.
- 1,513
- 3
- 17
- 31
0
votes
1 answer
Force android to use 3G while Wifi is enabled or wait for response from Gmail
I made an app wich will run onto a local Wifi (not internet connection) and it need to send mail via Gmail or maybe the Email app. So I would like to force it through 3G connection. I've done this :
if (imageLoaded) {
ConnectivityManager cm =
…

Purfakt
- 101
- 1
- 16
0
votes
2 answers
Java: Wait/Notify on multiple threads
I have a class which holds a collection of references to workers threads that receive objects via TCP (1 per client).
I'm trying to make a method getMessage() in my class which waits until any of the workers threads got a message and returns…

Krisprolls
- 3
- 1
- 3
0
votes
2 answers
Using Map of Futures, how do I notify() a single element within?
I'm attempting to hold a static list of Futures, and at a later time either cancel() or notify() the Futures which are in progress. The Callable class which is associated with these Futures has a wait() within it, so each one must be notified by an…

Ryan H
- 349
- 1
- 6
- 20
0
votes
3 answers
Need to understand wait() and notify() behavior in my example?
public class class_Q {
volatile boolean valueSet = false;
volatile int n;
synchronized int get()
{
System.out.println("Now i am in get block and valueset is : "+ valueSet );
if(!valueSet)
{
System.out.println("i am waiting in…

MKod
- 803
- 5
- 20
- 33
0
votes
1 answer
Perl Windows - watch a file and read last line
I'm trying to watch a file in Windows Perl. I'm using Win32::ChangeNotify
Here is my code:
use strict;
use warnings;
require Win32::ChangeNotify;
use Data::Dumper;
my $Path="C:\\Eamorr\\";
my $WatchSubTree=0;
my $Events="FILE_NAME";
my…

Eamorr
- 9,872
- 34
- 125
- 209
0
votes
2 answers
Notify when web site has been Changed
Is there any way to inform web site has been changed?one way is get all web page contex and compare it with previous contex!but Im looking for solution that notify web page changes without get page context!
user1318951
0
votes
3 answers
Java Threads: Wait Notify mechanism with ArrayList
I tried implementing wait/notify mechanism to modify the ArrayList using two separate threads.
It seems to work fine for first iteration but then for second iteration it waits forever in addToArray() method. I am not able to figure out why is it…

Shashank
- 35
- 1
- 9
0
votes
1 answer
notify client browser about changes on server
I am trying to make a simple chat-like application where each of the users share data. I need to somehow update all the clients with the new data in real-time when 1 of them is sending something.
Is there a way to do it, maybe a webserver or smt ?…

Pacuraru Daniel
- 1,207
- 9
- 30
- 56
-1
votes
4 answers
Java - multithreading and synchronization
I have two very similar programs each trying to run two threads OddThread and EvenThread and trying to print the odd and even numbers in sequence . While the first one works , the second one hangs . Can anyone please pinpoint the bug in the second…

AllTooSir
- 48,828
- 16
- 130
- 164
-1
votes
1 answer
Problem with Java, Swing, wait(), notify()
I am quiet new to Java and I try to make a simple turn-based game just to gain some experience. I have encounter a problem which I cannot solve on my own, despite I did quiet a lot of google research... Probably I cannot solve it because I don't…

Marcin K
- 9
- 1