-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creado main, clases __init__ y nombre de carpeta modificado
- Loading branch information
1 parent
cfaf30e
commit 23dba78
Showing
16 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
Binary file added
BIN
+1.46 KB
EntidadVirtual/ServidorMensajeriaYCorreo/__pycache__/Notificador.cpython-36.pyc
Binary file not shown.
Binary file added
BIN
+175 Bytes
EntidadVirtual/ServidorMensajeriaYCorreo/__pycache__/__init__.cpython-36.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,56 @@ | ||
print("antes de importy") | ||
import testmain.test as t | ||
print("entre import y print") | ||
t.printear() | ||
print("despues de print") | ||
from multiprocessing import Process | ||
import API_REST.server as server | ||
import API_REST.test_cerradura as cerradura | ||
import time | ||
|
||
|
||
def funt(): | ||
server.app.run() | ||
|
||
|
||
def funt2(): | ||
cerradura.app.run() | ||
|
||
def funt3(): | ||
import notificadores.listenerHeartbeat as lh | ||
|
||
|
||
def funt4(): | ||
import horarios.horariosLogic as hl | ||
|
||
|
||
def funt5(): | ||
import ServidorMensajeriaYCorreo.Notificador | ||
|
||
p1 = Process(target=funt) | ||
p2 = Process(target=funt2) | ||
p3 = Process(target=funt3) | ||
p4 = Process(target=funt4) | ||
p5 = Process(target=funt5) | ||
""" | ||
def f1(b): | ||
if b: | ||
while True: | ||
print("process 1 running") | ||
def f2(b): | ||
if b: | ||
while True: | ||
print("process 2 running") | ||
a= True | ||
p1 = Process(target=f1, args=(a,)) | ||
p2 = Process(target=f2, args=(a,)) | ||
""" | ||
if __name__ == '__main__': | ||
p1.start() | ||
print("correra el proceso 2 -------------------------------------------------------------------------------") | ||
p2.start() | ||
print("correra el proceso 3 -------------------------------------------------------------------------------") | ||
p3.start() | ||
print("correra el proceso 4 -------------------------------------------------------------------------------") | ||
p4.start() | ||
print("correra el proceso 5 -------------------------------------------------------------------------------") | ||
p5.start() |
Empty file.
Binary file not shown.
Binary file added
BIN
+2.12 KB
EntidadVirtual/notificadores/__pycache__/listenerHeartbeat.cpython-36.pyc
Binary file not shown.