While... / As long as...
Two meanings: mientras + indicative = while (simultaneous actions); mientras + subjunctive = as long as (condition). Context makes it clear.
While you cook, I'll set the table.
You can stay as long as you don't disturb anyone.
As long as there's hope, we must keep trying.
While you cook, I clean.