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
-2
votes
1 answer
Trying to make a one hour loop in python
from notifypy import Notify
import schedule
def remember_water():
notification = Notify()
notification.title = "XXX"
notification.message = "XXX"
notification.send()
schedule.every().hour.do(remember_water())
while True:
…

Raphi Schilli
- 11
- 1
-2
votes
2 answers
C# form show notifications without any tray icon
I want to use NotifyIcon, but I don't want any icons to appear in the lower right field, is this possible?
Or does anyone have an alternative solution suggestion?
I want to send a notification until the user sees the notification, the visibility…

Hakan
- 19
- 3
-2
votes
1 answer
Does a thread waked after wait() and got the monitor again continues from the next instruction after wait() or from the beginning?
Suppose a thread_1 does this:
synchronized(o) {
dosomthing1;
o.wait();
dosomthing2;
}
Suppose thread_1 was awakened, blocked on getting o monitor, got it. What will be the next thread_1 instruction? dosomthing1 or dosomthing2?

J.J. Beam
- 2,612
- 2
- 26
- 55
-2
votes
1 answer
Java: when trying to pause the program, the entire program freezes
I have a program here with buttons. one is a pause button and the other is a resume button. when i click on the pause button the program stops, but when i attempt to click the resume button nothing happens, i can't even click the button or even X…

user3804711
- 133
- 3
- 13
-2
votes
1 answer
How to notify an object that an event of another object? Java
I have a Java class, named Main, which instances several classes with name Subscriber. Subscriber obtains data from the internet and when it obtains a new data it stores it in a variable. When a new data is saved I want it to notify Main, or that it…

anonimo123456
- 1
- 1
-2
votes
1 answer
multiple threads call wait(), then notify(), result is deadlock
I want to know how I can solve the following problem:
I have created multiple threads of the same kind. They are all have a run-method with a timed while-loop and a synchronized-block, in which wait() is called first, then notify(). This results in…
-2
votes
1 answer
interthread communication with synchronization in java
I want to develop an application that contains two threads thread1 and thread2.
Thread 1 has to print even numbers upto 50 and thread 2 has to print odd numbers upto 50.
And both threads should communicate such that the printing oreder should be…

Muthyala Naresh
- 83
- 5
-2
votes
2 answers
How does Java's notify work?
When calling notify() in a thread in which there are multiple instances waiting, how does Java(or JVM) choose which thread to wake up?

fletch254
- 85
- 1
- 8
-2
votes
1 answer
Thread wait sleep and notify
i'm creating a simple timer,i have some basic knowledge about thread.
i can stop the currently sunning thread by wait but can't able to notify it shows"illegalmonitorstateexception".
'import java.awt.*;
import java.awt.event.*;
import…

sank
- 5
- 4
-2
votes
1 answer
Automatic email notification to let existing users that their friends have also joined website
I want to create an automatic email notification system to notify my existing users every time his/her facebook friend registers/joins my website. I see a lot of these type of email notifications from major websites such as Pinterest. i.e. "Your…

Mikey J Lee
- 21
- 3
-3
votes
4 answers
Printing values from different threads using wait and notify
I have three threads ThreadA, ThreadB and ThreadC printing values A, B and C respectively in loop.I want output to be like A,B,C and then again A, B and C till loops are executing in threads.I want to write this sample program using wait and notify.…

the-dumb-programmer
- 485
- 3
- 14
- 27
-3
votes
2 answers
notify() and wait() not working in Java
I have 2 threads which I want to synchronize with wait() and notify(). However when I notify the thread which waits never resumes. This are my pieces of code.
In Lib60870 i start both threads, and thread HandShake is synchronized with…

user3498728
- 38
- 2
-3
votes
3 answers
How to use wait and notify
I am creating a java application in which I am using three threads to perform three operations on a text file simultaneously.I have a toggle button in my application when I click start i am calling a method call() in which i am creating and…

vinay
- 1
-3
votes
1 answer
c# - Birthday notifier
I am working on a project (simple phonebook) for personal use. I display my contacts in a listview and the contacts are stored in a XML file. It contains contacts' data like name, city, address, birthday etc. Basically, I would like to be notified…

Exinta Enea
- 235
- 3
- 5
- 16
-4
votes
1 answer
Why MainClass is not coming out from waiting state
In below code why the part after the wait() is not going to execute.
Even if notify() is there in the object whose lock owned by the main thread.
public class MainClass {
public static void main(String[] args) {
Demo dm = new Demo();
…

user rAm
- 3
- 3